ltrim

语法

ltrim(X)

参数

X 可以是一个字符串或字符串向量。

详情

删除字符串或字符串向量的每个元素左边的空格。

例子

$ ltrim("    I love this game!");
I love this game!