Utils.java Source code

Java tutorial

Introduction

Here is the source code for Utils.java

Source

public class Utils {

    public final static String removeChar(String str, char c) {
        String output = new String();
        for (int i = 0; i < str.length(); i++) {
            if (str.charAt(i) != c)
                output += str.charAt(i);
        }
        return output;
    }

}