09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>RAPID</strong> Summary String Functions<br />

17 String Functions<br />

String functions are used for operations with strings such as copying, concatenation,<br />

comparison, searching, conversion, etc.<br />

17.1 <strong>Basic</strong> Operations<br />

Data type Used to define:<br />

string String. Predefined constants STR_DIGIT, STR_UPPER,<br />

STR_LOWER and STR_WHITE<br />

Instruction/Operator Used to:<br />

:= Assign a value (copy of string)<br />

+ String concatenation<br />

Function Used to:<br />

StrLen Find string length<br />

StrPart Obtain part of a string<br />

17.2 Comparison and Searching<br />

17.3 Conversion<br />

Operator Used to:<br />

= Test if equal to<br />

Test if not equal to<br />

Function Used to:<br />

StrMemb Check if character belongs to a set<br />

StrFind Search for character in a string<br />

StrMatch Search for pattern in a string<br />

StrOrder Check if strings are in order<br />

Function Used to:<br />

NumToStr Convert a numeric value to a string<br />

ValToStr Convert a value to a string<br />

StrToVal Convert a string to a value<br />

StrMap Map a string<br />

<strong>RAPID</strong> Reference Manual 3-41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!