0
Under which module are the 'split' functions 'list' functions etc. I cant find it under the java module
5 Réponses
0
What do you mean by split functions? The only split function I’m aware of is the String split method, I don't understand what you mean by list functions either. Please clarify this.
0
yeah the String split function
0
list functions like append,clear
0
The split method is part of the String class which gets imported automatically, I assume you know how it works e.g.
String str = "1-2-3";
String[] strArr = str.split("-"); // {"1", "2", "3"}
Offical split method documentation: https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#split(java.lang.String)
You can use the official Java documentation to get a list of methods of a given standard library class/interface
https://docs.oracle.com/javase/8/docs/api/java/util/List.html
0
thnks a lot