append character at beginning stringbuilder code example Example: stringbuilder insert beginning StringBuilder sb = new StringBuilder(); sb.insert(0, "string");