Heres a list of some of the most used (Well most used by me) string
manipulation functions/methods available in ASP.NET... Thought this
might be useful to someone? Or Not.. hehehe
Chars
Gets the character at a specified position in the string.
Compare
Compares two strings.
Copy
Creates a new string by copying a string.
CopyTo
Copies
a specified number of characters from a specified position in this
string to a specified position in an array of characters.
Empty
A constant representing the empty string.
EndsWith
Tells you whether the specified string matches the end of this string.[~BLOGFODDER~]
IndexOf
Returns the index of the first occurrence of a substring within the string.
Insert
Returns a new string with a substring inserted at the specified place.
Join
Lets you join together an array of strings with a specified separator.
LastIndexOf
Gives the index of the last occurrence of a specified character or string within the string.
Length
Gets the number of characters in the string.
PadLeft
Right-aligns the characters in this string, padding on the left withspaces or a specified character to a specified total length.
PadRight
Left-aligns
the characters in this string, padding on the right with spaces or a
specified character to a specified total length.
Remove
Deletes the specified number of characters from this string, beginning at the specified location.
Replace
Replaces all occurrences of a substring with a different substring.
Split
Splits a string into an array of substrings.
StartsWith
Determines whether a specified substring starts the string.
Substring
Returns a substring from the current string from the position indicated.
ToCharArray
Copies the characters in this string to a character array.
ToLower
Returns a lowercase copy of this string.
ToUpper
Returns an uppercase copy of this string.
Trim
Either
removes spaces or removes all occurrences of a set of characters
specified in a Unicode character array from the beginning and end of
the string.
TrimEnd
Either removes spaces or all
occurrences of a set of characters specified in a Unicode character
array from the end of the string.
TrimStart
Either
removes spaces or all occurrences of a set of characters specified in a
Unicode character array from the beginning of the string