diff options
author | Haru <haru@dotalux.com> | 2018-11-13 15:42:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 15:42:20 +0100 |
commit | e606053634bd3dcfad567ed0065c2d3062c4222b (patch) | |
tree | 963f32f530b1c6b1701702b69143cecafd684ec6 /doc/script_commands.txt | |
parent | beacddf2e4b9393f85d92508f4639a4118350ac9 (diff) | |
parent | b0a321c309521a6b0bc35c8f9c58ce57f3f38cbd (diff) | |
download | hercules-e606053634bd3dcfad567ed0065c2d3062c4222b.tar.gz hercules-e606053634bd3dcfad567ed0065c2d3062c4222b.tar.bz2 hercules-e606053634bd3dcfad567ed0065c2d3062c4222b.tar.xz hercules-e606053634bd3dcfad567ed0065c2d3062c4222b.zip |
Merge pull request #2304 from Helianthella/data-to-string
add data_to_string()
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 33d1ee426..219c71205 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -8604,6 +8604,18 @@ Example: --------------------------------------- +*data_to_string(<data>) + +Returns a string representation of the given data, similar to the .toString() +method in JavaScript. + +Example: + + data_to_string(DATATYPE_VAR) // "DATATYPE_VAR" + data_to_string(.@foo) // ".@foo" + +--------------------------------------- + *charisalpha("<string>", <position>) This function will return true if the character number Position in the given |