What is the best way to handle 's or s' for Possessive Noun and Plural Possessive Noun scenarios

For dynamic text content, what’s the best way to handle 's or s’ for Possessive Noun and Plural Possessive Noun scenarios in Bubble?

For example, where someone’s name is Bob, we’d want the possessive form to look like Bob’s. However, if there name ends in an ‘s’ like Les, we’d want it to look like Les’.

See: http://examples.yourdictionary.com/examples-of-possessive-nouns.html

Thanks!

In English, singular and plural nouns are followed by 's, with the exception for plural nouns that end in s, which are followed by an apostrophe only. Therefore, the possessive form of Les would still be Les’s. I think the best way to handle such case is to avoid using the possessive forms of nouns.

Ok, but let’s say it was a requirement… What’s the best way to do this in Bubble?

If you are displaying it in a text element, just append 's after the noun, assuming that you know it is singular. Similarly for the plural case, place 's, except in the case where s is the last character, then append only an apostrophe.