Someone will have to submit it. Considering Rob and I are already
_swamped_ under the queue now, it would be better if someone were to
submit this. I just can't bring myself to make the queue bigger. I'll
let others do that. ;)

Just as an FYI - both Rob and I know the queue is getting a bit backed
up now. Rob is very busy, and I've been working on a little product you
may have heard of. (It's does dynamic web page crap. ;) Once things
settle down, the queue will get busted down. Plus, we have some
interesting things in work for the site as well as a new site.

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: James Ang [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, April 22, 2002 6:11 PM
> To: CF-Talk
> Subject: RE: REReplace and RegExp
> 
> 
> Actually, this looks like a UDF candidate for cflib.org. Ray Camden?
> 
> I don't have time to format it nicely for cflib.org. Anyone wants to
> volunteer? :)
> 
> // Assuming that strFind and strReplace has no RegExp characters that
> need to be escaped
> // else, someone has to make this UDF more robust! ;)
> function SwapTag(strSource, strFind, strReplace) {
>     var retVal = strSource;
>     // make sure that the substring to find is not empty.
>     if (Len(Trim(strFind))) {
>         retVal = REFindNoCase(strSource,
> "(</?)#strFind#([[:space:]]*>|[[:space:]]+[^>]*>)", 
> "\1#strReplace#\2",
> "ALL");
>     }
>     return retVal;
> }
> 
> 

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to