Using String.split in Java, how can I split a string after a certain number of characters?

后端 未结 0 1008
北荒
北荒 2021-01-30 10:11

I am trying to write a Regex statement in Java within the String.split function that will allow me to split a string after 5 characters.

For example, if I have the string

相关标签:
回答
  • 消灭零回复
提交回复
热议问题