Edit

Share via


OpenTypeMethods.Trim(Object) Method

Definition

Removes all leading and trailing white-space characters from a string.

public:
 static System::Object ^ Trim(System::Object ^ targetString);
public static object Trim (object targetString);
static member Trim : obj -> obj
Public Shared Function Trim (targetString As Object) As Object

Parameters

targetString
Object

The string to trim.

Returns

The trimmed string.

Applies to