Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #005998

  • 0 - None Assigned

  • Fixed

Issue Confirmations

  • Yes (0)No (0)
Photo

insertchar @ script_commands.txt

Posted by Hercules Bot on 12 June 2012 - 11:14 AM

Originally posted by Joseph

*insertchar(<string>,<char>,<index>)


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"


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

And, the weird tabbing between the word "end" and "of".

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