Hey,
I display customers like this Mr John Smith
. However, the first name is optional and if a user only enters Mr Smith
then I have two spaces, Mr Smith
.
This is because the first name (which is not shown( has a space before and after. I wondered if there’s a neat way to solved this without a conditional?