string->appendChar

Appends a character by code value.

Target member

Signature

1string->appendChar(i::integer)

Appends a character by code value.

string->appendChar is called with member syntax on a receiver value. string->appendChar works with text values. Normalize input at boundaries, escape at output boundaries, and keep encoding calls close to the place where the encoded text is needed.

Parameters

i
Required value of type integer. Supply i positionally unless the signature shows a keyword form.

Examples

Basic call

1local(s) = ''2#s->appendChar(65)
The example shows the receiver and result shape. In templates, apply escaping at the final output boundary.