ReCT Documentation

v2.1

String


String describes a string of characters.

You can store any kind of text in it.


Initializing a Variable as a string would look like this:

var someString <- "this is a string";

Functions

The string Datatype has 2 built in Functions:


GetLength()

GetLength() returns the String's length as an Int.



Substring(<startindex -> int>, <length -> int>)

Substring() makes a Subtring from the current String. It will start at the given starting index and go on for the given Length.