LTrim()

语法

Result$ = LTrim(String$ [, Character$])
概要
Removes all the specified characters located in the front of a string.

参数

String$ The string to trim.
Character$ (optional) The character used to trim the string. The default character is 'space'. 'Character$' has to be a one character length string.

返回值

A new string holding the original string with the front characters removed.

示例

  Debug LTrim("     This is Art")  ; Will display "This is Art"
  Debug LTrim("!!Hello Word", "!") ; Will display "Hello World"

参阅

RSet(), LSet(), RTrim(), Trim()

已支持操作系统

所有

<- LSet() - String Index - Left() ->