Answers for "swift 5 remove not number"

0

swift replace all characters except numbers

let result = string.trimmingCharacters(in: CharacterSet(charactersIn: "0123456789.").inverted)
Posted by: Guest on September-09-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language