如何"Thequickbrownfoxjumps"在Java 中将字符串拆分为相同大小的子字符串.例如."Thequickbrownfoxjumps"等于4的大小应该给出输出.
"Thequickbrownfoxjumps"
["Theq","uick","brow","nfox","jump","s"]
类似问题:
在Scala中将字符串拆分为等长子串
java regex string split
java ×1
regex ×1
split ×1
string ×1