appendChar


Description:

public StringBuilder appendChar (char c)

Appends a single character to the end of this builder.

Example:

    var sb = new StringBuilder ();
sb.appendChar ('A');
sb.appendChar ('B');
assert (sb.toString () == "AB");

Parameters:

c

the character to append.

Returns:

this StringBuilder for chaining.