EasyCFM.COM ColdFusion Forums / Coding Help! / DELIMiters!!!!!!

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: DELIMiters!!!!!!

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

Link-Jaffa
12-31-2002 @ 3:27 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 6
Joined: Dec 2002

How wuold you specify <p> as a delimeter?



Thanks,
Matt

dsiles
12-31-2002 @ 4:29 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 24
Joined: Dec 2002

Please explain your problem a little more in detail.  Do you mean delimiter by the actual Paragraph tag, or do you mean by carriage returns, line feeds?

Can us some insight to the data source and what your trying to accomplish, and we will get you the answer.

Dave

--
David Siles
dave@siles.com

"Your going to code it in ASP.WHAT ?!?!?!?!?... Oh you have 6 months to do it... Ok Smile "

Webmaster
12-31-2002 @ 6:23 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4533
Joined: Jan 2002

If you are creating a list:


<!--- First define the variable as blank --->
<cfset MyList = "">
<!--- now loop through your records and use ListAppend --->
<cfoutput query="MyDB">
  <cfset MyList = ListAppend(MyList, "#Your_Value#", "<p>">
</cfoutput>


ListAppend works as follows:
ListAppend(List_Name, The_Value, DELIMITER)

If you are looping trough something and you want to list the values separated by the delimiter (more then likely your case) Playful Wink  , then try this:


<cfoutput>
<cfloop list="#The_Variable#" index="idx" delimiters="<p>">
  #idx#<BR>
</cfloop>
</cfoutput>


Let me know if you had something else in mind Wink


Thanks,
Pablo Varando
EasyCFM.COM, LLC.
=====================================================
"In my early years SPAM was good, not! SPAM sucks!"

Sponsored By...
iOpenSoft, LLC is a Houston, Texas Advanced Technology Studio Specializing in Web Design, Web Development, iPhone App Development and Android App Development.