Retrieves a substring with the leading and trailing white space removed.
public static String trimBlanks( String s )
public static String trimBlanks( String s, int left, int right )
s
The string to retrieve the substring from.
left
The starting index of the substring.
right
The ending index of the substring.
Returns the substring of the specified string with the leading and trailing white space removed.