我很难找到解决方案。如何从字符串中删除第一个单词,如下面的字符串。
"i am going to school"
"he is going to school"
"she is going to school"
"they are going to school"
所以字符串可以是任何字符串,并且不知道第一个单词的确切长度。但只想删除第一个单词。
结果应该如下所示
"am going to school"
"is going to school"
"is going to school"
"are going to school"
有什么帮助吗?
谢谢