class StringHelper {

    public static String removeLineBreaks(String string) {
        if (string == null) {
            return null;
        }
        string = string.replace("\r\n", " ");
        string = string.replace('\n', ' ');
        string = string.replace('\r', ' ');
        return string;
    }

    private  StringHelper();

}