Utils.parseIntList

Overview | Methods | This Package | All Packages

Utils.parseIntList

Parses the string for a list of integer values.

Syntax

public static int[] parseIntList( String s )

public static int[] parseIntList( String s, char token )

Parameters

s

The string to parse.

token

The token to search for.

Return Value

Returns the array of integer values found in the string.

Remarks

In the first syntax, the integer values must be separated by the list character as determined by the region settings. This is typically a comma (,). In the second syntax, the values must be separated by the token parameter.