The methods of the StringFunctions class are listed below. For a complete list of StringFunctions class members, see the StringFunctions Members topic.
![]() Contains | Tests whether the specified string contains the given search string. |
![]() EndsWith | Tests whether the specified string ends with the specified suffix string. |
![]() GetLength | Returns the length of the specified string. |
![]() IndexOf | Returns the position of the first occurrence in the specified string of the given search string. |
![]() LastIndexOf | Returns the position of the last occurrence in the specified string of the given search string. |
![]() PadLeft | Returns the given string left-padded to the given length. |
![]() PadRight | Returns the given string right-padded to the given length. |
![]() Replace | Returns a string corresponding to the replacement of a given string with another in the specified string. |
![]() StartsWith | Tests whether the specified string starts with the specified prefix string. |
![]() Substring | Returns a substring of the specified string. |
![]() ToLower | Returns the specified string converted to lowercase. |
![]() ToUpper | Returns the specified string converted to uppercase. |
![]() Trim | Returns the given string trimmed of whitespace. |
![]() TrimEnd | Returns the given string trimmed of trailing whitespace. |
![]() TrimStart | Returns the given string trimmed of leading whitespace. |
Equals (inherited from Object) | |
GetHashCode (inherited from Object) | |
GetType (inherited from Object) | |
ToString (inherited from Object) |
Finalize (inherited from Object) | |
MemberwiseClone (inherited from Object) |
StringFunctions Class | NAnt.Core.Functions Namespace