Removes characters from the beginning of this string.
[Visual Basic] Public Function TrimStart( _ ByVal trimChars() As Char _ ) As String [C#] public string TrimStart( char[] trimChars ); [C++] public: String* TrimStart( __wchar_t* trimChars[] ); [JScript] public function TrimStart( trimChars : Char[] ) : String;
Returns the substring of characters remaining after the removal of the characters from the beginning of this string.
The TrimStart method begins with the first character in this string and continues to remove characters until it finds a character that is not in the specified array. As a special case, white space can be removed from the beginning of the string by passing null as the character array. This procedure is case-sensitive.
White space is defined by WhitespaceChars.
The trimChars parameter can be null to indicate that white space should be removed from the beginning of the string.