<cfoutput>
<cfloop query="q">
        #q.theLink#<cfif q.CurrentRow NEQ q.RecordCount>|</cfif>
</cfloop>
<cfoutput>

Should do it.

Ade

-----Original Message-----
From: Michael C.Grove [mailto:[EMAIL PROTECTED]
Sent: 25 February 2005 19:46
To: CF-Talk
Subject: Dynamic Links and Spacing


I have a site that generates some dynamic links. Ya know simply pulling from
a database.
Anyway  I would like to separate each link with a "|". The problem, however
is that the links list horizontally and I get a trailing "|". For example

About Us  |  Contact Us  |  Advertising  | Home  |

Is there a way using MOD or something to drop the last one?
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196617
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to