Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java split string

String yourString = "Hello/Test/World";
String[] strings = yourString.split("/" /*<- Regex */); 

Output:
strings = [Hello, Test, World]
 
PREVIOUS NEXT
Tagged: #java #split #string
ADD COMMENT
Topic
Name
1+5 =