Dealing with dynamic strings

What is the most elegant way to put some data which will show the variants:

Mary (and 2 guests)
Brad (and 1 guest)

I mean this should take into account 0 or not number of guests and also plural form in Brad’s case.

I’d use a repeating group to display the names

In each cell

  • a label with a conditional
    The labels default text should be name + the count

— If the count is 0

—- set the Default text to the sameText without the count

This topic was automatically closed after 70 days. New replies are no longer allowed.