MCPcopy Index your code
hub / github.com/beanshell/beanshell / split

Method split

src/bsh/StringUtil.java:33–39  ·  view source on GitHub ↗
( String s, String delim)

Source from the content-addressed store, hash-verified

31{
32
33 public static String [] split( String s, String delim) {
34 List<String> v = new ArrayList<String>();
35 StringTokenizer st = new StringTokenizer(s, delim);
36 while ( st.hasMoreTokens() )
37 v.add( st.nextToken() );
38 return v.toArray(new String[0]);
39 }
40
41 public static String maxCommonPrefix( String one, String two ) {
42 int i=0;

Callers 2

makeTreeModelMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected