Chapter 11
STRING – Blocks for string operations
The STRING library is dedicated to string manipulation and analysis in REXYGEN system. It includes blocks like CONCAT for concatenating strings, FIND for searching within strings, and REPLACE for replacing string segments. The library offers LEN and MID for determining string length and extracting substrings, respectively. Advanced pattern matching is provided by REGEXP. Conversion blocks such as ITOS, STOR and RTOS convert integers and real numbers to strings, while a simple CNS block defines a string constant. Additionally, the library features blocks like PJROCT for JSON parsing. This collection of blocks is essential for handling and processing string data in various applications.
CONCAT – Concat string by pattern
FIND – Find a Substring
ITOS – Integer number to string conversion
LEN – String length
MID – Substring Extraction
PJROCT – Parse JSON string (real output)
PJSOCT – Parse JSON string (string output)
PJSEXOCT – Parse JSON string (string output)
REGEXP – Regular expresion parser
REPLACE – Replace substring
RTOS – Real Number to String Conversion
SELSOCT – Selector switch for string signals
STOR – String to real number conversion
TRIM – Remove leading and trailing whitechar
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com