append a character to a stringbuilder code example Example: stringBuilder append string public StringBuilder append(String str)