Read up on regular expressions. They can do this.
-----Original Message-----
From: Albert, Gregory Mitchell (Greg) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 03, 2001 10:15 AM
To: CF-Talk
Subject: Find "n" occurrence
Is there a way to find the third (or "n") occurrence of a particular piece
of HTML on a page?
For instance, I want to only show the first three news entries and each
entry is separated by <br><br> Is there any way to remove any text after
those three entries? I'm not using a SQL Query... This is coming out of a
CFHTTP.FileContent so I can't use the maxrows command.
Any help that you could give me would be greatly appreciated!
- Greg Albert
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists