Can someone help a little here please (I left my copy of Forta at home :-( I am checking a string returned from a third party payment gateway to see how the gateway processed the payment request. There are a number of possible outcomes I check for (see one example in the code snippet below) but I also need to check that I received the entire string. In all cases the gateway returns strings which end with END and the delimiter in the list is * so if I get the complete string back I should see the string ending *END
I am checking what the string contains to see how to process it my end but what is the best way to check that each string returned finishes *END <cfif (returnResult CONTAINS "OK") AND (returnResult CONTAINS "true")> ********** Kevin Parker Web Services Manager WorkCover Corporation [EMAIL PROTECTED] www.workcover.com p: 08 82332548 f: 08 82332000 m: 0418 806 166 ********** ************************************************************************ This e-mail is intended for the use of the addressee only. It may contain information that is protected by legislated confidentiality and/or is legally privileged. If you are not the intended recipient you are prohibited from disseminating, distributing or copying this e-mail. Any opinion expressed in this e-mail may not necessarily be that of the WorkCover Corporation of South Australia. Although precautions have been taken, the sender cannot warrant that this e-mail or any files transmitted with it are free of viruses or any other defect. If you have received this e-mail in error, please notify the sender immediately by return e-mail and destroy the original e-mail and any copies. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists