Source Code:
(back to article)
Submit
Result:
Report an issue
public class StringSplitTest { public static void main(String[] arg){ String str = "Was machst du heute?"; String split[] = str.split(" ", 0); for(String s:split) System.out.println(s); } }