figure out the reason. Before every variable output, but after the
delimeter there's a space
#del#
<cfset outputVars =
"dateFormat(dateAdded,'short')|plan_to_attend|firstname|middlename|lastname|degree|year1|employer|workaddress">
<!--- items cut --->
<cfset outputVars = listtoArray(outputVars,"|")>
<cfloop index="i" from="1" to="#arrayLen(outputVars)#">
<cfset theVar = "#outputVars[i]#">
#evaluate(theVar)##del#
</cfloop>
From this, I get:
| 7/14/04| 1| supah| e| dupah| 1| superhero| girlieboy| 1966| 10472
outter_space ct| suite 204| scaggsville| md| 20723| 301-405-5555|
[EMAIL PROTECTED]|
If I just output year1 before the listtoarray:
#del##year1##del#, then I get the proper |1991| without the extra space.
Can someone please explain to me how these spaces are being added?
It seems very odd to me.
thanks.
--
Daniel Kessler
Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD 20742-2611
301-405-2545 Phone
www.phi.umd.edu
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

