NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

String.Trim ()

Trims the white space from both ends of the string.

[Visual Basic]
Overloads Public Function Trim() As String
[C#]
public string Trim();
[C++]
public: String* Trim();
[JScript]
public function Trim() : String;

Return Value

The substring of characters remaining after the removal of any white space from both ends of this string.

Remarks

The Trim method removes the whitespace from the beginning and ending of a specified string. White space is defined by WhitespaceChars.

See Also

String Class | String Members | System Namespace | String.Trim Overload List