LEFTS
Return the leftmost characters of string
LEFT$ (string,integer)
This function returns a string comprised of the number of leftmost
characters of the string determined by the specified integer. The
integer argument must be in the range 0 to 255. If the integer is
greater than the length of the string, the entire string is returned. If
an integer value of zero is used, then a null string (of zero length)
is returned.
EXAMPLE:
PRINT LEFT$ (COMMODORE”,5)
COMMO
LEN
Return the length of a string
LEN (string)
This function returns the number of characters in the string
expression. Non-printed characters and blanks are included.
EXAMPLE:
PRINT LEN (“COMMODORE128”)
12
LOG
Return natural log of X
LOG(X)
This function returns the natural log of X. The natural log is log to
the base e (see EXP(X)). To convert to log base 10, divide by
LOG(IO).
EXAMPLE:
PRINT LOG (37/5)
2.00148
18-9