replace-char-at( a, b, c )


The function replaces the character at position b of text a with character c.

Description of Parameters


Parameter

Description

a

Text.

b

Position of character to be replaced (starting at 1).

c

Replacement character. Newline and tabulator characters can be specified using \NL and \TAB (also see section Representation of Nonprintable Delimiters).


Examples


Parameter a

Parameter b

Parameter c

Result

aaaa

2

1

a1aa