BB___LEFT

=LEFT$= toc

Description
> Returns the specified //number// of characters starting from the left side of a string.

> See also RIGHT$ and MID$.

Syntax

 * 1) left$(//string, number//)

Hints

 * 1) If //number// is zero or less, an empty string ("") is returned.
 * 2) If //number// is the length of the string or greater, the full string will be returned.

Example
code format="lb" ' Assign ref name print "Your request has been received." print input "Please enter your last name: "; name$ input "Please enter your age: "; age$ print print "Thank you. Your file reference name will be: "; left$(name$, 5)+age$ print print "Please use that name in future correspondence." ' Code continues

end code

Useful Functions
code format="lb" ' Place a useful function using this command here code