public CharBuffer trimChar(final char c) {
        return trimCharStart(c).trimCharEnd(c);
    }
Trims off the specified char from the start end end of the buffer.
stroom-util/src/main/java/stroom/util/CharBuffer.java