Thoughts n Musings

Benefits of using REFind vs contains in ColdFusion
By Brian Fescoe
July 2, 2015

If you have a need to break apart a serialized ARGUMENT string from jQuery and JSON, say for list of questions that are getting submitted @ one time it is best to use REFind rather than contains take a look at the example below. 

The url encoded string has answers, feedback elements and urls for a single question. After decoding the string and replacing the + and & symbols that are added when doing an ajax post. (as an aside you will need to decode twice to show the special characters when rendering)

Read More
Comments (0)