String Functions

String functions are used for operations with strings such as copying, concatenation,comparison, searching, conversion, etc.

 Basic Operations

Data type Used to define:

string String. Predefined constants STR_DIGIT, STR_UPPER,

STR_LOWER and STR_WHITE

Instruction/Operator Used to: := Assign a value (copy of string) + String concatenation

Function Used to:

StrLen Find string length

StrPart Obtain part of a string

Comparison and Searching

Operator Used to:= Test if equal to <> Test if not equal to

Function Used to:

StrMemb Check if character belongs to a set

StrFind Search for character in a string

StrMatch Search for pattern in a string

StrOrder Check if strings are in order

Conversion

Function Used to:

NumToStr Convert a numeric value to a string

Val To St r Convert a value to a string

StrToVal Convert a string to a value

StrMap Map a string

StrToByte Convert a string to a byte

ByteToStr Convert a byte to string data