StringIterableFormattingExtension extension

Utilities for formatting iterables of strings.

on

Properties

commaSeparatedWithAnd → String

Available on Iterable<String>, provided by the StringIterableFormattingExtension extension

Returns a comma-separated string with the last element preceded by 'and'.
no setter
commaSeparatedWithOr → String

Available on Iterable<String>, provided by the StringIterableFormattingExtension extension

Returns a comma-separated string with the last element preceded by 'or'.
no setter
quotedAndCommaSeparatedWithAnd → String

Available on Iterable<String>, provided by the StringIterableFormattingExtension extension

Returns a comma-separated string with single quotes around each element and the last element preceded by 'and'.
no setter
quotedAndCommaSeparatedWithOr → String

Available on Iterable<String>, provided by the StringIterableFormattingExtension extension

Returns a comma-separated string with single quotes around each element and the last element preceded by 'or'.
no setter