Issue information

Issue ID
#5998
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jun 12, 2012 11:14
Last Post
Hercules Elf Bot
Jun 21, 2012 12:22
Confirmation
N/A

Hercules Elf Bot - Jun 12, 2012 11:14

Originally posted by [b]Joseph[/b]
[quote name='doc/script_commands.txt']
[color=#000000]*insertchar(<string>,<char>,<index>)[/color]


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.
Only the 1st char in the <char> parameter will be used.

Example:

setchar("laughter", "s", 0); //returns "slaughter"
[/quote]

A little mistake at the example part. It should be
[CODE]
insertchar("laughter", "s", 0);
[/CODE]

[color=#000000]And, the weird tabbing between the word "end" and "of". [/color]

Hercules Elf Bot - Jun 12, 2012 15:36

Originally posted by [b]Brian[/b]
Updating status to: [b]Fixed[/b] in [rev=16278/trunk/doc/]

This post has been edited by Brian on Jun 12, 2012 15:36