You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2015/10/15 17:55:06 UTC
[jira] [Resolved] (LANG-1173) Addition of stripStartToChar
[ https://issues.apache.org/jira/browse/LANG-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved LANG-1173.
------------------------
Resolution: Won't Fix
> Addition of stripStartToChar
> ----------------------------
>
> Key: LANG-1173
> URL: https://issues.apache.org/jira/browse/LANG-1173
> Project: Commons Lang
> Issue Type: Wish
> Components: lang.*
> Reporter: Satyanarayana J
> Priority: Minor
>
> Looking for any possibility to add additional methods into StringUtils.
> We already use stripStart , which strips set of leading whitespaces to empty.
> As an addition, can we have below method?
> * stripStartToChar(String str, String/Character char) - leading whitespaces to a specific character/string
> or
> * stripStartAndReplace(String str, String stripChars, String/Character char) - leading characters to a specific character/string
> These methods could be useful to strip leading whitespaces/characters with a replacement string/characters
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)