Utils.parseStringList

Overview | Methods | This Package | All Packages

Utils.parseStringList

Parses the string into substrings that are separated by tokens.

Syntax

public static String[] parseStringList( String s )

public static String[] parseStringList( String s, char token )

public static String[] parseStringList( String s, String token, boolean wantBlanks )

Parameters

s

The string to parse.

token

The token to search for.

wantBlanks

Set to true to include empty entries in the resulting array; otherwise, set to false.

Return Value

Returns the array of strings found.