Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
ccsimmons #1
Stop my madness & help me with two lists
I have 2 lists.
List1 is a,b,c,d
List2 is a,b,e,f,g,h,i
I want to make a third list. The third list should be all items in List2 that
are not in List1. What is the best way to do this. I have been stumbling with
it for hours.
ccsimmons Guest
-
STOP=Save The Opticles People! ... Stop Flashs flashing!
:| WHEN will they ever learn, our eyes are not to be played with. Imagin putting on a blindfold on for 1 - 24hr period & TRY to go about there... -
Array MADNESS
Have I gone crazy? <cfscript> arr=arrayNew(2); arr = 'Col 1 Row 1'; arr = 'Col 1 Row 2'; arr = 'Col 2 Row 1'; arr = 'Col 2 Row 2'; arr = 'Col... -
Madness, I call it madness
Maybe it's me who is mad but... I have a windows application with a datagrid. On pressing F5 (when the grid or any grid's cell has a focus) I... -
flv -> swf madness
i've created a flv from a quicktime movie and exported it out as a swf then i load that swf into a movieclip and everything works fine except that... -
lists, attaching behaviour dynamiclly, update lists
Hello, I am trying to get these scripts to work correctly. What I am trying to do is: 1) Look into a folder called 'tank,' then when this is... -
Stressed_Simon #2
Re: Stop my madness & help me with two lists
Here you go!
<cfset List1 = "a,b,c,d">
<cfset List2 = "a,b,e,f,g,h,i">
<cfset List3 = "">
<cfloop list="#List2#" index="i">
<cfif NOT ListFindNoCase(List1, i)>
<cfset List3 = ListAppend(List3, i)>
</cfif>
</cfloop>
<cfoutput>#List3#</cfoutput>
Stressed_Simon Guest



Reply With Quote

