Left()

语法

Result$ = Left(String$, Length)
概要
Returns the specified number of characters from the left side of the string.

参数

String$ The string to use.
Length The number of characters to return. If this value exceeds the number of characters of the string, it will be returns the whole string.

返回值

A string holding the specified number of characters from the left side of the string.

示例

  Debug Left("This is Art",4) ; Will display "This"

参阅

Right()

已支持操作系统

所有

<- LTrim() - String Index - Len() ->