>- see footer for list info -<
If both lists are the same length:
<cfoutput>
<cfloop from="1" to="#ListLen(list1)#" index="i" delimiters="#Chr(127)#">
#ListGetAt(list1, i, Chr(127))# - #ListGetAt(list2, i, " ")#<br />
</cfloop>
</cfoutput>
At a untested guess.
Adrian
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nick Middleweek
Sent: 14 May 2008 12:06
To: Coldfusion Development
Subject: [CF-Dev] Converting ascii(127) seperated data to a list or
array?
>- see footer for list info -<
Hello,
I've got some data in records in two 'parallel' text fields that is an
ASCII(127) seperated list.
What is the best approach to converting the data into two 'parallel' lists
or arrays?
e.g.
Audit.ColumnDetail = "estimatedProductionPriceactualProductionCost"
Audit.EditDetail = "0.00000.0000"
I want to be able to look up the value for actualProductionCost so it
returns 0.0000.
Thanks,
Nick
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<