StringBuilder (@NotNull StringBuilder builder, char symbol) { int index = 0; while (index < builder.length() && builder.charAt(index) == symbol) index++; if (index > 0) builder.delete(0, index); return builder; }