src/org/ohmage/util/StringUtils.java
public static List<String> splitString(String string, String delimiter) {
		if(isEmptyOrWhitespaceOnly(string)) {
			return Collections.emptyList();
		} 
		return Arrays.asList(string.split(isEmptyOrWhitespaceOnly(delimiter) ? DEFAULT_DELIMITER : delimiter));
	}
/**
	 * Splits the provided string using the provided delimiter. If no delimiter
	 * is provided, a comma is used.
	 * 
	 * @param string  The string to split
	 * @param delimiter The delimiter to use for the split operation.
	 * @return A List of Strings from the provided String or an empty string if
	 * the provided list is null or all whitespace. 
	 */
Splits the provided string using the provided delimiter. If no delimiter
is provided, a comma is used.

@param string  The string to split
@param delimiter The delimiter to use for the split operation.
@return A List of Strings from the provided String or an empty string if
the provided list is null or all whitespace.
Splits the provided string using the provided delimiter . If no delimiter is provided a comma is used . @param string The string to split @param delimiter The delimiter to use for the split operation . @return A List of Strings from the provided String or an empty string if the provided list is null or all whitespace .
public static List<String> splitString(String string, String delimiter) {
		if(isEmptyOrWhitespaceOnly(string)) {
			return Collections.emptyList();
		} 
		return Arrays.asList(string.split(isEmptyOrWhitespaceOnly(delimiter) ? DEFAULT_DELIMITER : delimiter));
	}
public static List < String > splitString ( String string , String delimiter ) { if ( isEmptyOrWhitespaceOnly ( string ) ) { return Collections . emptyList ( ) ; } return Arrays . asList ( string . split ( isEmptyOrWhitespaceOnly ( delimiter ) ? DEFAULT_DELIMITER : delimiter ) ) ; }
Splits the provided string using the provided delimiter.
Splits the provided string using the provided delimiter .