main
char c = char from unicode code 32
print c // LOG: " "
Class represents an character.
Creates a character from unicode character code 'c'
main
char c = char from unicode code 32
print c // LOG: " "
Returns the unicode code of tha character 'c'
main
int c = ' '.get unicode code
print c // LOG: "32"
Test whether parameters have the same value.
main
string s1 = "ABC"
string s2 = "AbC"
bool resut = s1[1] == s2[1] // result == false
Test whether c1 is less than c2.
Test whether c1 is less than or equal to c2.
Test whether parameters are not equal.
main
string s1 = "ABC"
string s2 = "AbC"
bool resut = s1[1] != s2[1] // result == false
Test whether c1 is greater than c2.
Test whether c1 is greater than or equal to c2.
Modify character 'c' to lower case.
main
string s = "ABC"
s[1].to lower case
print s // LOG: "AbC"
Modify character 'c' to upper case.
main
string s = "abc"
s[1].to upper case
print s // LOG: "aBc"
Return the lower case version of character 'c'.
main
string s = "ABC"
s[1] = s[1].as lower case
print s // LOG: "AbC"
Return the upper case version of character 'c'.
main
string s = "abc"
s[1] = s[1].as upper case
print s // LOG: "aBc"
Check if character 'c' is a letter.
main
string s = "abc"
if s[1].is letter
print "is letter" // LOG: is letter
Check if the character 'c' is a digit 0-9.
main
string s = "123"
if s[1].is digit
print "is digit" // LOG: is digit
Check if the character 'c' is a white-space character.
main
string s = "a b"
if s[1].is whitespace
print "is space" // LOG: is space
Creates a copy of source.
main char c1 = 'a' char c2 = c1.copy // c2 == 'a'
Returns character as string.
main char c = 'a' string s = c // s == "a"
Return character code 10.
main char c1 = LF char c2 = char from unicode code 10 bool result = c1 == c2 // result == true
Return character code 13.
main char c1 = CR char c2 = char from unicode code 13 bool result = c1 == c2 // result == true
Return character code 9.
main char c1 = TAB char c2 = char from unicode code 9 bool result = c1 == c2 // result == true