Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift replace all characters except numbers

let result = string.trimmingCharacters(in: CharacterSet(charactersIn: "0123456789.").inverted)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #replace #characters #numbers
ADD COMMENT
Topic
Name
8+8 =