Table of Contents

Advertisement

LEFT*
Purpose
The characters from the leftmost position through the
<I>th character of the <X$>.
Form
LEFT$(<X$>,<I»
Description
(1)
<I> must be within the range of 0 - 255.
If the
<I> is greater then the number of characters in the
<X$>, the <X$> itself is returned as the result.
Example
>10 A$="123abc"
>20 C$=LEFT$(A$,3)
>30 PRINT C$+lfSANY0M
>RUN
>123SANY0
3-93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents