PreviousNext
Help > DATA TYPE “TEXT” > Operations
Operations

As basic operations can be considered those such as conjunction, measuring, and code extraction.

Two texts can be conjoined by using the “+” operation:

var text s1,s2,s3;

………

s1=s2+s3;      s1 becomes a text which contains the conjoined s2 and s3 result

 

The function measuring the length of a text returns the number of characters in it (except the closing 0, which is invisible by the user).

Provided is also a function for searching a text within another text, starting from a specified character index. Another function cuts and returns part of a text.

The most interesting functionality however, and the most useful one, is the text formatting.