Created
July 22, 2019 03:08
-
-
Save wotjd/09bafdb23cc746d6e2ccd5c645ae95d1 to your computer and use it in GitHub Desktop.
특정 문자열 치환
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
let uuid = NSUUID().uuidString //"3B156152-8CD1-4845-A85C-1722AACC2453" | |
uuid.replacingOccurrences(of: "-", with: "") //"3B1561528CD14845A85C1722AACC2453" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment