setChar
function setChar(str: string; c: char; pos:integer): string;
Returns the string that is identical to 'str' except that it has character 'c' at position 'pos'. Position indexes start with zero. If 'pos' is larger then the length of the 'str', a copy of 'str' is returned.
See also: getChar