我有这个字符串:
My name is Marco and I'm from Italy
我想拆分它,使用分隔符is Marco and,所以我应该得到一个数组
is Marco and
My name
I'm from Italy
我怎样才能用C#做到这一点呢?
我尝试过:
.Split("is Marco and")
但是它只需要一个字符。
https://stackoverflow.com/questions/8928601
相似问题