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


Replaces the character at position b (starting at 1) of text a with character c. Newline and tabulator characters can be specified using \NL and \TAB (also see section Representation of Nonprintable Delimiters).

Description of Parameters

Parameter

Description

a

Text.

b

Position of character to be replaced.

c

New character.

Examples

Parameter a

Parameter b

Parameter c

Result

aaaa

2

1

a1aa