> A CC processing routine returns via CFHTTP.Filecontent the 
> following string:
> 
> ssl_result=0 ssl_result_message=APPROVED ssl_txn_id=0123456789
> ssl_approval_code=023456 ssl_cvv2_response=P ssl_avs_response=Y
> ssl_transaction_type=SALE ssl_card_number=4000000000000000
> 
> I want to convert this string so that the space prior to each 
> "ssl" becomes a comma, instead of a space.  That will allow me 
> to use the GetListAt function and then parse out individual set 
> commands.

If your actual data doesn't contain any spaces, you could simply specify the
space as your delimiter. With all of the CFML list functions, you can
specify whatever delimiter you want.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to