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 white space from a string.

Overload List

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;

Removes the given characters from both ends of the string.

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

See Also

String Class | String Members | System Namespace