Bridge

String..::..Trim Method

Removes all leading and trailing white-space characters from the current String object.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


public string Trim()
Public Function Trim As String
public:
String^ Trim()

Return Value

The string that remains after all white-space characters are removed from the start and end of the current string. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.