General numeric functions take any numeric type as arguments and return the same numeric type.
chop(String, Word) Remove characters from the front of a String. chop(String) The result is an empty String unless the expression, Word, is under the length of String. Fault: Word < 0 If the expression is omitted it defaults to 1. left(String, Word) Return a substring of String from indecies 1 to left(String) to the expression, Word. If Word exceeds the String length then all of the String is returned. Fault: Word < 0 When 0 an empty string is returned. If the Word expression is omitted it defaults to 1. length(String) Returns the length of a String. The result type is a Word. The maximum String length is 2^16-1. lower(Integer) Convert a String or a single character to lower lower(String) case using ASCII encocoding. If the argument is an integer only the low order byte is converted and any higher order bytes are unchanged. The result has the same type as the argument. lower(String, Word) Returns a Byte containing the lower case value value of a Byte in the string indexed by the Word Fault: Word <= 0 expression. If the expression value exceeds the String length the result is zero. right(String, Word) Returns a substring of the String argument with right(String) the last Word characters in the argument. If the Word expression exceeds the String length then Fault: Word < 0 all of the String argument is returned. If it is zero an empty string is returned. If the Word argument is omitted it defaults to 1. string(Integer) Convert a Byte or Parcel argument to a one character String. If it is a Parcel then only the low order Byte of the Integer is converted. string(String, Word) Returns a one character String containing the character indexed by Word. If Word indexed past Fault: Word <= 0 the String an empty string will be returned. string(String, WordA, WordB) Returns the substring of the String argument from WordA to WordB. If WordB indexes past the end of Fault: WordA <= 0 the String the String length is used. If both WordB <= 0 exceed the string length the result is an empty WordA > WordB string. trim(String, Word) Remove characters from the end of a String. If trim(String) If the Word expression is past the end of String then the result is an empty String. If the Word Fault: Word < 0 argument is omitted it defaults to 1. upper(Integer) Convert a String or a single character to upper upper(String) case using ASCII encocoding. If the argument is an integer only the low order byte is converted and any higher order bytes are unchanged. The result has the same type as the argument. upper(String, Word) Returns a Byte containing the upper case value value of a Byte in the string indexed by the Word Fault: Word <= 0 expression. If the expression value exceeds the String length the result is zero.