I need to remove all the numbers from a string, but the code that I have is in swift 2.3
let string = (string.componentsSeparatedByCharactersInSet(NSCharacterSet.decimalDigitCharacterSet()) as NSArray).componentsJoinedByString("")
How can I do the same in swift 3? thanks!