Void setIndex(String s, Char c, Int i)
Arguments
s: The stringc: The character to set (may not be a NULL)i: The position in the string
Usage
Sets the ith character of the given String to the given character. The index starts at zero.
str = "abcdefg";
setIndex(str,'-',4); // str = "abcd-fg"
An IllegalIndex exception is thrown if i is out of bounds.