You can use components(separatedBy:) method to divide a string into substrings by specifying string separator. let str = "Hello! Swift String.
確定! 回上一頁