Specifications

Section 10. CRBASIC Programming Instructions
10-25
HEX
Returns a hexadecimal string representation of an expression.
Syntax
Variable = HEX (Expression)
HexToDec
Converts a hexadecimal string to a float or integer.
Syntax
Variable = HexToDec (Expression)
InStr
Find the location of a string within a string.
Syntax
Variable = InStr (Start, SearchString, FilterString, SearchOption)
LTrim
Returns a copy of a string with no leading spaces.
Syntax
variable = LTrim (TrimString)
Left
Returns a substring that is a defined number of characters from the left side of
the original string.
Syntax
variable = Left (SearchString, NumChars)
Len
Returns the number of bytes in a string.
Syntax
Variable = Len (StringVar)
LowerCase
Converts a string to all lowercase characters.
Syntax
String = LowerCase (SourceString)
Mid
Returns a substring that is within a string.
Syntax
String = Mid (SearchString, Start, Length)
RTrim
Returns a copy of a string with no trailing spaces.
Syntax
variable = RTrim (TrimString)
Right
Returns a substring that is a defined number of characters from the right side of
the original string.
Syntax
variable = Right (SearchString, NumChars)