String methods
String methods
Length:
Removes all leading and trailing whitespace characters from the string.
TrimStart():
Pads the string on the left with spaces (or a specified character) to
reach the specified total width.
PadRight(int totalWidth):
Pads the string on the right with spaces (or a specified character) to
reach the specified total width.
Insert(int startIndex, string value):
Returns a new string that removes all characters from the specified
index to the end of the string.
Remove(int startIndex, int count):
Returns the hash code for the string, which is useful for hash-based
collections.
Equals(Object):