I got a problem in using listfind()
.
I have a list of strings.One of my string has a comma.
Now when I use listfind()
to compare with another string I don't get the output expected. i.e The string with a comma in it is not detected.
How can the listfind()
to work even for the string having comma in it ?
The default delimiter for all CF functions is the comma. In order to use strings with commas you must change the delimiter.
For example:
ListAppend(list, "A value, with comma", "^")
ListFind(list, "A value, with comma", "^")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With