summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index adae3726f..6e6c9127f 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -6706,12 +6706,12 @@ The first letter is position 0.
Returns the original string with the specified char inserted
at the specified index. If index is out of range, the char
- will be inserted on the end of the string that it is closest.
+ will be inserted on the end of the string that it is closest.
Only the 1st char in the <char> parameter will be used.
Example:
- setchar("laughter", "s", 0); //returns "slaughter"
+ insertchar("laughter", "s", 0); //returns "slaughter"
---------------------------------------