我需要做一个简单的拆分一个字符串,但似乎没有一个函数为此,和手动的方式,我测试似乎没有工作。我该怎么办?
解决方法
请参阅
Splitting Strings:
Here are varIoUs ways of splitting a string into a list of substrings,breaking the original string on occurrences of some separator (character,character set,or pattern). This is commonly called a string split[2] function.