replace-char-at()

Prev Next

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

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