Sfairadora

  • Reference Guide

String Functions

The functions described here manipulate in general with types String and Text. The String type represents a character string without divided lines, while the Text type is as string divided to lines. Within an value of the Text type, the characters `n (LF), `r (CR), or the combination `r`n (CR, LF), which is considered a single line break, can be used to delimit line ends.
The conversions form the Text type to String ([String]txt) replaces line breaks with spaces.
Most of these functions also work with the Binary type. The Binary type is similar to the String type, but is considered a sequence of bytes rather than characters. Therefore, it is not affected by code-page conversions etc. On contrary, the String type is considered a sequence of character, where a character is a logical unit corresponding to a single code point of the Unicode.

Overview

●
char
●
insert
●
prefix
●
replace
●
size
●
suffix
●
substr
●
trim