Convert "&" to "&" using [grep]

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67584
interpreted = N
texte = I've checked the archives, but the formatting is kinda screwy (or maybe the formatting is fine and I'm just screwy...) anyhowI'm not finding the answer I need... I want to simply convert "&" to "&" in a whole bunch of text. I don't want to [url] it all because I only want to convert the ampersands, and I don't want to do a custom convertchars because I want to keep the conversion within the code itself (I don't want to have to add another file, i.e. a custom convert.db) Ideally, I want to do something like this, but of course my syntax is wrong: [grep search=&&replace=&][the_text][/grep] Online docs aren't telling me much either. TIA, -Dan ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Convert "&" to "&" using [grep] ( Brian Fries 2006)
  2. Convert "&" to "&" using [grep] ( "Dan Strong" 2006)
I've checked the archives, but the formatting is kinda screwy (or maybe the formatting is fine and I'm just screwy...) anyhowI'm not finding the answer I need... I want to simply convert "&" to "&" in a whole bunch of text. I don't want to [url] it all because I only want to convert the ampersands, and I don't want to do a custom convertchars because I want to keep the conversion within the code itself (I don't want to have to add another file, i.e. a custom convert.db) Ideally, I want to do something like this, but of course my syntax is wrong: [grep search=&&replace=&][the_text][/grep] Online docs aren't telling me much either. TIA, -Dan ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Dan Strong"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

select multiple (1997) URL too Long? (1997) really wierd browser truncating (1997) Not really WebCat (1997) [CART] (1997) Bug or syntax error on my part? (1997) RE: [isfolder] and [filename] (1997) [REPLACE] inside [FOUNDITEMS] (1998) Date Format not working (2004) emailer (1997) [WebDNA] Cicada (2009) Globals in 3.x (2002) hierarchy question... (2000) multi-paragraph fields (1997) WebCat2 - [format thousands] (1997) Shopping Cart Page (1997) FYI: virus alert (1996) PCS Frames (1997) One other big addition... (1997) Need something like [listchars] ... (2000)