You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2024/10/13 13:06:00 UTC

[jira] [Resolved] (LANG-1756) Add a filledString(int len, char fillChar) method

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

Gary D. Gregory resolved LANG-1756.
-----------------------------------
    Resolution: Duplicate

-1: This duplicates StringUtils.repeat(char, int), in this very same class... 😉 (mod the different style of length validation).

> Add a filledString(int len, char fillChar) method
> -------------------------------------------------
>
>                 Key: LANG-1756
>                 URL: https://issues.apache.org/jira/browse/LANG-1756
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: General
>            Reporter: Claude Warren
>            Priority: Minor
>
> I have seen multiple code bases that have developed a `filledString` method to create a string of a specific length filled with a single character.
> This is a request for such a method to be incuded in StringUtils.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)