Hi Guys,
I have a simple process whereby I split a comma separated string. The issue is that it comes back as a variant data type not an array and this blocks the rest of my process from working
The code is:
I am curious as to how to solve this. I can hard code the list, but would prefer it come from a db call to allow for more flexibility in the future. I am also starting to see this issue crop up in other applications where we use the SPLIT command.
Any ideas?
Bastien
I wish my computer would do what I want it to do,
instead of what I tell it to do...
I have a simple process whereby I split a comma separated string. The issue is that it comes back as a variant data type not an array and this blocks the rest of my process from working
The code is:
Code:
' sADMIN_ALLOWED_HTML_TAGS = "P,BR,UL,OL,LI"
if sADMIN_ALLOWED_HTML_TAGS <> "" then
arrAllowedHTMLList = split(sADMIN_ALLOWED_HTML_TAGS, ",")
ubound_arrAllowedHTMLList = ubound(arrAllowedHTMLList)
end if
I am curious as to how to solve this. I can hard code the list, but would prefer it come from a db call to allow for more flexibility in the future. I am also starting to see this issue crop up in other applications where we use the SPLIT command.
Any ideas?
Bastien
I wish my computer would do what I want it to do,
instead of what I tell it to do...