Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

LEFT$

Description

LEFT$ is a string functions, that extracts a number of characters from the left of a string and generates a new string. LEFT$ needs two arguments, the source string and how many character should be extracted.

Example

Extracts "hello" from "hello world" and prints source and new string

outmode -2
a$ = "hello world"
b$ = left$ (a$, 5)
print a$
print b$
end

Remarks

See also RIGHT$ and MID$