共用方式為


Text.Remove

語法

Text.Remove(text as nullable text, removeChars as any) as nullable text

關於

傳回文字值 text 的複本,並移除 removeChars 的所有字元。

範例 1

從文字值中移除 , 和 ; 字元。

使用方式

Text.Remove("a,b;c", {",",";"})

輸出

"abc"