Справочник Пользователя для Toshiba KB-80

Скачать
Страница из 79
- 41 -
LEFT$
Function
Provides a character string of the length specified on the left side of the character
string.
Format
LEFT$ ( <character string>, <numeric expression> )
Term
<character string>: Any character string
<numeric expression>:
The length is specified on the left side of <character string>.
(Unit: bytes, Range: 0 to 255)
Explanation
<numeric expression> is converted to an integer value rounded off to a whole number
before it is evaluated.
When the value for <numeric expression> is larger than the number of strings of
<character string>, all character strings are provided.  When the value is 0, a null
string is provided.