You could use RegEx to do this:
<CFSET myVar = "<!-- Start News Here -->the news content is in here . . .
.<!-- End News Here -->">
<CFSET parsedVar = ReReplaceNoCase(myVar, "<!-- Start News
Here -->([^<]*)<!-- End News Here -->", "\1")>
<CFOUTPUT>#parsedVar#</CFOUTPUT>
I'm sure there are other ways, but this may help.
----- Original Message -----
From: Dave Hannum <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 2:07 PM
Subject: Grabbing Content
> What would be the easiest way to grab content off a page where the content
> is surrounded by beginning and ending comment tags as so:
>
> <!-- Start News Here -->
> the news content is in here . . . .
> <!-- End News Here -->
>
> Thanks,
> Dave
>
>
> =================================
> "What we need is a list of specific unknown problems we will encounter"
>
> David Hannum
> Web Analyst/Programmer
> Ohio University
> [EMAIL PROTECTED]
> (740) 597-2524
>
>
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.