| java.lang.Object com.sun.portal.search.util.String2Array
String2Array | public class String2Array (Code) | | Miscellaneous utilities
|
Method Summary | |
public static String | array2String(String[] a, String delim) Convert an array of strings to a single string separated by the delimiter chars. | public static void | main(String[] args) | public static String[] | string2Array(String s, char delim, boolean trim) Convert a string to an array of strings based on a delimiter character. | public static String[] | string2Array(String s, char delim) Convert a string to an array of strings based on a delimiter character. |
array2String | public static String array2String(String[] a, String delim)(Code) | | Convert an array of strings to a single string separated by the delimiter chars.
Parameters: a - array to be converted into a string Parameters: delim - delimiters used to break up the string the converted string |
string2Array | public static String[] string2Array(String s, char delim, boolean trim)(Code) | | Convert a string to an array of strings based on a delimiter character.
Parameters: s - a string to be converted into an array Parameters: delim - delimiters char used to break up the string Parameters: trim - whether to trim() the resulting strings the converted array |
string2Array | public static String[] string2Array(String s, char delim)(Code) | | Convert a string to an array of strings based on a delimiter character.
The returned strings are not trimmed.
Parameters: s - a string to be converted into an array Parameters: delim - delimiters used to break up the string the converted array |
|
|