diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index a0e3a783d..1737f8796 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -8046,6 +8046,26 @@ Example: --------------------------------------- +*chr(<int>) + +Returns a char from its ASCII value. + +Example: + + chr(99); //returns "c" + +--------------------------------------- + +*ord(<chr>) + +Returns the ASCII value of char <chr>. + +Example: + + ord("c"); //returns 99 + +--------------------------------------- + *setchar(<string>, <char>, <index>) Returns the original string with the char at the specified index set to |