Looping through String With Multiple Replace Conditions
I'm looking to loop through a url string to grab parse out http://, www.twitter.com, and twitter.com.
I thought of first using this:
<cfset form.mystring = REPLACENOCASE(form.mystring, "http://", "", "One")
AND REPLACENOCASE(form.mystring, "www.twitter.com", "", "One")>.
I realized that this won't work of course.
Additionally, using a cfif-cfelseif in this case will remove an one condtion, but not multiple condition.
Need to use a cfloop I think. Any suggestions on syntax. Thanks
