Strings


Escape Coded Strings


Delimited Strings


String Array Operations


Common Functions

x$+y$

String concatenation.

Chr$(x)

Returns the ASCII character corresponding to the value (x)

Str$(x)

Returns a string representation of the value of (x). The number of decimal places can be set by the FixDecimal command.

Left$(x$,y)

Returns the left (y) characters of x$.

Right$(x$,y)

Returns the right (y) characters of x$

Replace$(x$,y$,z$)

Returns a string (x$) with all occurrences of (y$) replaced with (z$).

String$(x$,y)

Returns a string containing (x$) replicated (y) times.

Upper$(x$)

Returns a string containing (x$) in upper case.

Lower$(x$)

Returns a string containing (x$) in lower case.

Trim$(x$)

Returns a string containing (x$) with the white space removed from the beginning and end.

TrimLeft$(x$)

Returns a string containing (x$) with the white space removed from the beginning of the string.

TrimRight$(x$)

Returns a string containing (x$) with the white space removed from the end of the string.


Mid$(str$, start {,len})


Format$(n, f$)


RegexReplace$(x$,y$,z$)


Numeric String Functions

isNumber(n$)

This function returns true (1) if the string parameter is a valid numeric expression, if not false (0) is returned.

Parse$(e$)

This function parses a valid numeric expression and returns the result as a numeric text string. If an error occurs "Error" is returned.

SciNot$(x)

Returns a string containing the value of (x) in scientific notation.

Bin$(x)

Returns a string containing the value of (x) in binary.

Oct$(x)

Returns a string containing the value of (x) in octal.

Hex$(x)

Returns a string containing the value of (x) in hex.

BinDec(x$)

Returns the decimal value of a string (x$) containing a binary value.

OctDec(x$)

Returns the decimal value of a string (x$) containing an octal value.

HexDec(x$)

Returns the decimal value of a string (x$) containing a hex value.

Len(x$)

Length of a string (x$)

ASCII(x$)

ASCII value of (x$)

Val(x$)

Numeric value of (x$)

ValLen(x)

Length of (x) as a string. The number of decimal places can be adjusted with the FixDecimal command.

InStr(x$,y$,z)

Returns the index to the first occurrence of the substring (y$) in the string (x$). Searching begins at the offset (z). If the substring is not found then 0 is returned.

DeviceID$()

Returns a string that is a unique device (phone) ID.

AndroidVersion$()

Returns the Android version running on the device.

BasicVersion$()

Returns the currently running Basic version number.


StringToUTF8$()


UTF8ToString$()


StringToBase64$()


Base64ToString$()


BytesToBase64$()


Base64ToBytes$()






Become a Patron