Previous Up Next

set_nth_char
modify the n-th character of a string (warning: the string is modified 'on site', all the pointers towards the string are affected by this modification, it is a side-effect)

S set_nth_char (
S _string_
I _position_
I _ascii_
)
Parameters

_string_
any string
_position_
any integer
_ascii_
new value
Return value

same string