The methods of the StringFunctions class are listed below. For a complete list of StringFunctions class members, see the StringFunctions Members topic.
![]() ![]() | Tests whether the specified string contains the given search string. |
![]() ![]() | Tests whether the specified string ends with the specified suffix string. |
![]() ![]() | Returns the length of the specified string. |
![]() ![]() | Returns the position of the first occurrence in the specified string of the given search string. |
![]() ![]() | Returns the position of the last occurrence in the specified string of the given search string. |
![]() ![]() | Returns the given string left-padded to the given length. |
![]() ![]() | Returns the given string right-padded to the given length. |
![]() ![]() | Returns a string corresponding to the replacement of a given string with another in the specified string. |
![]() ![]() | Tests whether the specified string starts with the specified prefix string. |
![]() ![]() | Returns a substring of the specified string. |
![]() ![]() | Returns the specified string converted to lowercase. |
![]() ![]() | Returns the specified string converted to uppercase. |
![]() ![]() | Returns the given string trimmed of whitespace. |
![]() ![]() | Returns the given string trimmed of trailing whitespace. |
![]() ![]() | Returns the given string trimmed of leading whitespace. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Serves as a hash function for a particular type. |
![]() | Gets the Type of the current instance. |
![]() | Returns a String that represents the current Object. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |
StringFunctions Class | NAnt.Core.Functions Namespace