Quantcast
Channel: Answers for "Concatenate multiple values into single string."
Browsing latest articles
Browse All 4 View Live

Answer by KenJ

If it is passing in the single quotes between the items, try changing the delimiter you're splitting on to account for the extra single quotes: `Split(@Month, ''',''')`

View Article


Answer by ThomasRushton

Try this: split('''jan'',''feb'',''march''', ',') The problem is that your string is built up with 's, and that's also the string delimiter. So you need to escape (by doubling) those quotes within the...

View Article

Browsing latest articles
Browse All 4 View Live