Utils.trimBlanks

Overview | Methods | This Package | All Packages

Utils.trimBlanks

Retrieves a substring with the leading and trailing white space removed.

Syntax

public static String trimBlanks( String s )

public static String trimBlanks( String s, int left, int right )

Parameters

s

The string to retrieve the substring from.

left

The starting index of the substring.

right

The ending index of the substring.

Return Value

Returns the substring of the specified string with the leading and trailing white space removed.