Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.