components(separatedBy:)
Returns an array containing substrings from the string that have been divided by characters in the given set.
Declaration
func components(separatedBy separator: CharacterSet) -> [String]Returns an array containing substrings from the string that have been divided by characters in the given set.
func components(separatedBy separator: CharacterSet) -> [String]