Left()

Syntax

Result$ = Left(String$, Length)
Description
Returns the first 'Length' number of characters from the left side of the string. This function is safe to use even if out-of-bound values are given for the 'Length' parameter, in that case, it will simply return the result which matches best.

Example:


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

Supported OS

All

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