Java splitting strings?

前端 未结 4 889
北恋
北恋 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 04:56

    If performance is an issue, consider using StringTokenizer instead of split, StringTokenizer is much faster.

提交回复
热议问题