How can I do a cfif contains?

Error I am getting:

You have attempted to dereference a scalar variable of type class
java.lang.String as a structure with members.   
        
                
The error occurred in E:\Websites\nscomputers\systembuilder2.cfm: line 6

4 : <cfif #Trim(cpu.description)# contains "AMD">
5 : <cfset cpu = "AMD">
6 :     <cfif #Trim(cpu.description)# contains "AM2">   


I hope someone can shed some light on this. thanks!

Rick





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338258
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to