You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Andrew Sykes (JIRA)" <ji...@apache.org> on 2006/06/30 17:45:29 UTC

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

New methods in StingUtil
------------------------

         Key: OFBIZ-73
         URL: http://issues.apache.org/jira/browse/OFBIZ-73
     Project: The Open For Business Project
        Type: Improvement

  Components: framework  
    Reporter: Andrew Sykes
    Priority: Minor


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


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

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-73?page=all ]

Jacopo Cappellato closed OFBIZ-73.
----------------------------------


> 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

        

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

Posted by "Andrew Sykes (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-73?page=all ]

Andrew Sykes updated OFBIZ-73:
------------------------------

    Attachment: StringUtil.java.patch

> New methods in StingUtil
> ------------------------
>
>          Key: OFBIZ-73
>          URL: http://issues.apache.org/jira/browse/OFBIZ-73
>      Project: The Open For Business Project
>         Type: Improvement

>   Components: framework
>     Reporter: Andrew Sykes
>     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


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

Posted by "Si Chen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-73?page=all ]

Si Chen reassigned OFBIZ-73:
----------------------------

    Assignee: Si Chen

> 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

        

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

Posted by "Si Chen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-73?page=all ]

Si Chen resolved OFBIZ-73.
--------------------------

    Resolution: Fixed

> 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

        

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

Posted by "Si Chen (JIRA)" <ji...@apache.org>.
    [ 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