DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33630>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33630





------- Additional Comments From [EMAIL PROTECTED]  2005-05-10 12:00 -------
probably, on top of trim(), you might want to use also

    public static String removeWhiteSpace(String withWhiteSpace) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < withWhiteSpace.length(); i++) {
            char analyzedChar = withWhiteSpace.charAt(i);
            if (" \t\r\n\f".indexOf(analyzedChar) == -1) {
                sb.append(analyzedChar);
            }
        }
        return sb.toString();
    }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to