String
| Method Attributes | Method Name and Description | 
|---|---|
| <boolean> | contains()
								 Returns  trueif and only if this string contains one or more of the specified
values. | 
| <boolean> | endsWith(needle)
								 Tests if this string ends with the specified suffix. | 
| <String> | replaceAll(SearchFor, ReplaceText)
								 Replaces each substring of this String that matches the given
substring with the given replacement. | 
| <boolean> | startsWith(needle)
								 Tests if this string starts with the specified prefix. | 
| <String> | trim()
								 Returns a copy of the string, with leading and trailing space omitted. | 
					Method Detail
				
				
					 
					
					
					{boolean}
					contains()
					
					
					
						Returns 
					
					
					
						
							true if and only if this string contains one or more of the specified
values. 
For boolean values of true the String is compared with "yes", "on",
"true", and "1"; For boolean values of false with "no", "off",
"false", and "0".
For String values the following wildcards are supported:
- "*" The String is not empty
- "value" The String must match the value
- "value*" The String must start with the value
- "*value" The String must end with the value
- "*value*" The String must contain the value
E.g. to check if the value of the variable "command" is set
if (command.contains("*")) {
  ...
}
						
					- Parameters:
- {boolean or String} ...
- the values to search for
- Returns:
- trueif this string contains one or more of the specified values,- falseotherwise
					
					{boolean}
					endsWith(needle)
					
					
					
						Tests if this string ends with the specified suffix.
						
					
					
					
					
						
							- Parameters:
- {String} needle
- Returns:
- trueif the character sequence represented by the argument is a suffix of the character sequence represented by this object;- falseotherwise.
					
					{String}
					replaceAll(SearchFor, ReplaceText)
					
					
					
						Replaces each substring of this String that matches the given
substring with the given replacement.
						
					
					
					
					
						
							
						
						
						
						
						
							- Returns:
- The resulting String
					
					{boolean}
					startsWith(needle)
					
					
					
						Tests if this string starts with the specified prefix.
						
					
					
					
					
						
							- Parameters:
- {String} needle
- Returns:
- trueif the character sequence represented by the argument is a prefix of the character sequence represented by this string;- falseotherwise.
					
					{String}
					trim()
					
					
					
						Returns a copy of the string, with leading and trailing space omitted.
						
					
					
					
					
						
						
						
						
						
							- Returns:
- A copy of this string with leading and trailing space removed, or this string if it has no leading or trailing space.