Title
Left ArrowCheats HomeRight ArrowCheats Misc ListCheats Number ListCheats A ListCheats B ListCheats C ListCheats D ListCheats E ListCheats F ListCheats G ListCheats H ListCheats I ListCheats J ListCheats K ListCheats L ListCheats M ListCheats N ListCheats O ListCheats P ListCheats Q ListCheats R ListCheats S ListCheats T ListCheats U ListCheats V ListCheats W ListCheats X ListCheats Y ListCheats Z List

Home Page

Projects...
PC Controller Box
Joystick Switch Box
c128D Refurb

Programs...
Byte Simulator
Cheat 'O Matic
GEOS

Collections...
3D Models
Book Collection

Information...
My BASIC Notes
Web Links

eMail Me

Note: You must add uk to the end of the address, it's to help prevent spam.

My BASIC Notes

Basic2 Commands
Disk Drives
ASCII and CHR$ Codes
PEEK's and POKE's
RAM Memory Map
ROM Memory Map
Screen Display
Sprite

LEFT$
Abbreviation: LE <SHIFT+F>

TYPE: String Function
FORMAT: LEFT$ (<string>, <integer>)

Action: Returns a string comprised of the leftmost <integer> characters of the <string>. The integer argument value must be in the range 0 to 255. If the integer is greater than the length of the string, the entire string will be returned. If an <integer> value of zero is used, then a null string (of zero length) is returned.

EXAMPLES of LEFT$ Function:

10 A$ = "COMMODORE COMPUTERS"
20 B$ = LEFT$(A$,9): PRINT B$
RUN

COMMODORE


Commodore Cheetah made by Allen Monks, started in the year 2000.