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=27592>.
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=27592

WordUtils capitalize improvement

           Summary: WordUtils capitalize improvement
           Product: Commons
           Version: 2.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Lang
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I'd like to see WordUtils being able to capitalize given more word separator 
characters than just white space, eg "Jean-Pierre". Currently it takes "jean-
pierre" and returns "Jean-pierre".

Maybe supply a list of additional separaters which should be treated as 
indication of a new word, just like whitespace?

Something like :

capitalize(String str, char[] separaters) 

used 

capitalize("jean-pierre du pond", new char[]{'-',' '});

would return "Jean-Pierre Du Pond".

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

Reply via email to