Java splitting strings?

前端 未结 4 915
北恋
北恋 2021-01-23 04:08

I\'m trying split a string when ever a \" \" occurs, for example the sentence test abc. Then move the first letter in each word from first to last. I got the moving the letter t

4条回答
  •  忘掉有多难
    2021-01-23 05:08

    Use String.split to break the string apart. Then, run your code on each part. You can put the string together again using StringBuilder and a loop.

提交回复
热议问题