I have this variable that stores the output of a cfexecute function, for our payment processing. I am trying to figure out a way to trim it down so that the variable data is only the text after the --- towards the bottom. Since the response from the server will always be a Y000001 number or NDECLINED after the ---, I figure it should be possible to do a validation off the first letter of the string Y or N.
Does anyone have an idea of how to make that with happen? I tried a Right(output, 33) but the problem is the length varies if it is approved or declined so that didn't work. Thanks for your help on this, Ryan variable data --------------- cert_file = [/localmode.crt] key_file = [/localmode.key] Agent = [localmode_SSL/0.2.1 (OpenSSL/0.9.6; UNIX; Linux 2.4.18 i686)] SSL connection using EDH-RSA-DES-CBC3-SHA Server certificate: subject: /www.creditnet.com issuer: /CN=Comodo Class 3 Security Services CA HTTP/1.1 200 OK Date: Wed, 02 Apr 2003 21:41:44 GMT Server: Apache Content-Length: 32 Keep-Alive: timeout=15 Connection: Keep-Alive Content-Type: text/html Y000001 3E8-B59191D-8B292-2B422 --- Y000001 3E8-B59191D-8B292-2B422 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

