Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
split funtion in string on multiple spaces
ARGMAN
Programming language:
Whatever
2021-07-31 23:23:04
0
Q:
split funtion in string on multiple spaces
Ask
Code:
Whatever
2021-07-04 11:40:31
String[] sArray = s.split("\\s{2,}");
0
Tags
string
multiple
Related
regex only letters not spaces
split string into lines
regex split by capital letters
splitting by white space or multiple white spaces
golang split spaces
how to remove all the white spaces from a string
split words into lines
New to Communities?
Join the community