String Functions


FunctionDefinition

chr$(j)

Returns the ASCII character corresponding to the value of j.

date$

Returns a string corresponding to the current date.

ermsg$(j)

Returns the j'th error message.

form$(query_string$, string$)

Searches query_string$ for string$ and returns the value paired with string$ in query_string$.

get$(f)

Returns one character from file f. If f is zero, it retrieves the character from the terminal. It returns a zero-length string if <Ctrl>-<C> is typed.

lcase$(stringval$)

Converts stringval$ to lower case.

left$(a$,j)

Returns the leftmost j characters of the string a$.

mid$(stringval, exp1, exp2 )

Extracts exp2 characters from the string stringexp, starting at location exp1.

right$(a$,j)

Returns the rightmost j characters of the string a$.

space$(j)

Returns a string of j spaces.

str$(j)

Returns a string representation corresponding to j.

string$(a$,j)

Returns the string a$ repeated j times.

ucase$(stringval$)

Converts stringval$ to upper case.