belte

5.4 String

The String class provides static string helpers.

The Belte public interface for the String class can be found here.

5.4.1 Methods

Signature Description
string![]! Split(string! text, string! separator) Splits the given text at every instance of the separator. The return value will not contain any instances of the separator.
int Ascii(string! chr) Returns the ascii value of the given string given that it is 1 character long. Returns null otherwise. (Note that the ascii value of a char can be attained directly by casting it to an int.)
string! Char(int! ascii) Returns a string of length 1 containing the corresponding character of the given ascii code. (Note that the char of an ascii value can be attained directly by casting an int to a char.)