You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Si Chen (JIRA)" <ji...@apache.org> on 2006/07/18 20:40:16 UTC

[jira] Commented: (OFBIZ-73) New methods in StingUtil

    [ http://issues.apache.org/jira/browse/OFBIZ-73?page=comments#action_12421914 ] 
            
Si Chen commented on OFBIZ-73:
------------------------------

I think these are a good idea.  Any objections to me committing these, maybe with minor formatting or comment cleanup?

> New methods in StingUtil
> ------------------------
>
>                 Key: OFBIZ-73
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-73
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Andrew Sykes
>         Assigned To: Si Chen
>            Priority: Minor
>         Attachments: StringUtil.java.patch
>
>
> Hi, I have added three new methods to StringUtil...
> removeNumeric(String str)
> removeNonNumeric(String str)
> removeRegex(String str, String regex)
> I've found these very useful for a project, so thought I might share them.
> Also, I have modified removeSpaces to use the new removeRegex method.
> Any thoughts?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira