Morning All

I am writing a script to check that a string has the same number of start
and end td, tr and table tags. I am wanting to write this in cfscript and I
want to have all of the tags in a list so that more can be added if needed
and I don't have to write the same bit of code for each tag pair.
So how do I get a list of lists? I have this

<cfset tagPairList = "'<td,</td','<tr,</tr','<table,</table'">

but if I loop through this list I get six results not 5 and how do I do a
cfloop in cfscript. I know about doing for loops but doing a for loop over a
list is harder than cflooping over a list.

I know there are ways around these problems but I was just wondering if this
sort of thing is possible.

Thanks

Giles


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to