共用方式為


OpenTypeMethods.Trim(Object) 方法

定義

從字串中移除所有開頭和尾端空白字元。

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

參數

targetString
Object

要修剪的字串。

傳回

修剪後的字串。

適用於