Answers for "split string by multiple characters"

2

java split for multiple characters

String input = "Hi,X How-how are:any you?";
String[] parts = input.split("[\\W]");
Posted by: Guest on June-02-2020

Code answers related to "split string by multiple characters"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language