You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Joerg Schaible (Closed) (JIRA)" <ji...@apache.org> on 2012/01/20 08:45:41 UTC

[jira] [Closed] (LANG-785) trim(String source, String trimString)

     [ https://issues.apache.org/jira/browse/LANG-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joerg Schaible closed LANG-785.
-------------------------------

    Resolution: Not A Problem
      Assignee: Joerg Schaible

Lang contains trim functionality in several flavors for ages. Howerver, please, if you have question, ask on the user's list. JIRA is a bug tracker and no help forum.
                
> trim(String source, String trimString)
> --------------------------------------
>
>                 Key: LANG-785
>                 URL: https://issues.apache.org/jira/browse/LANG-785
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>            Reporter: Alexey Kuznetsov
>            Assignee: Joerg Schaible
>            Priority: Minor
>
> I'm looking for simple function called trim in many langues.
> Simple function like this:
> public String trim(String source, String trimString) {
>   source = StringUtils.removeStart(source, trimString);
>   source = StringUtils.removeEnd(source, trimString);
>   return source;
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira