DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+8 =
Submit