Skip to content

new string utility to create a comma separated string from list #58

Open
@rubberbandman62

Description

@rubberbandman62
/**
 * Converts a List of String to a comma separated string of characters
 * @param stringList 
 * @return String that is one string built of all elements in stringList separated by ", "
 */
public static String convertListToCommaSeparatedString(List<String> stringList) {
    return StringUtils.join(stringList, ", ");
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions