public static String removeChar(final char theChar, final String theString) {
        final StringBuilder s = new StringBuilder();
        for (int i = 0; i < theString.length(); i++) {
            final char currentChar = theString.charAt(i);
            if (currentChar != theChar) {
                s.append(currentChar);
            }
        }

        return s.toString();
    }