I need to display the results of either one or two strings. Each string contains a comma-separated list of items. I need to concatenate them into a single list.
I know how to do the concatenation.
The issue I have is that sometimes the second string contains entries, sometimes it does not.
If the second string contains data, I want to display the concatenated result (first string and second string). If the second string is empty, I only want to display the first string.
Can someone help me figure out how to accomplish this?
Call me crazy, but …
should be enough?