ColdFusion List Question
Hello Community!
I have two questions regarding CF lists:
1-) I have a list that has the values 1,2,
As you can see, the comma at the end of that string will make mymy program break because that list of comma delimited values is being used in a SQL statement: in(1,2,)
How do I remove that comma at the end of my list?
2-) I have a list with the values 1,,3
How do I get rid of that unnecesary comma? How do I fill in the space between , and , with a value so it's 1,value,3 instead?
Thanks!
Ysais.
