Re: Grep Ampersands
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 69803
interpreted = N
texte = Donovan Brooke wrote:> Ki Song wrote:>> Some of our product descriptions have an ampersand.>> For example: Backpack & Table>>>> How do I either:>> 1. Replace the & with a &>> 2. Replace the & with an "and">>>> I tried using grep, but putting an & into the search field seems to >> "break">> the grep search.> > [convertchars][description][/convertchars]> > > DonovanOops, I should amend by reply with, if you store HTML inyour description field, then convertchars itself, willnull out the HTML, presenting the html as text. In thiscase, you can either use grep or a custom convertcharsinstead.ie. [convertchars db=conv_ands.db][description][/convertchars]conv_ands.db----------------------------FROM
TO&&----------------------------Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:>(608) 770-3822 TALK:>http://artglass-forum.com WEB:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Donovan Brooke wrote:> Ki Song wrote:>> Some of our product descriptions have an ampersand.>> For example: Backpack & Table>>>> How do I either:>> 1. Replace the & with a &>> 2. Replace the & with an "and">>>> I tried using grep, but putting an & into the search field seems to >> "break">> the grep search.> > [convertchars][description][/convertchars]> > > DonovanOops, I should amend by reply with, if you store HTML inyour description field, then convertchars itself, willnull out the HTML, presenting the html as text. In thiscase, you can either use grep or a custom convertcharsinstead.ie. [convertchars db=conv_ands.db][description][/convertchars]conv_ands.db----------------------------FROMTO&&----------------------------Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:>(608) 770-3822 TALK:>http://artglass-forum.com WEB:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
Google Web Accelerator (2005)
Is [variable] a Number? (2007)
Fed Ex Interaction (2003)
Three new problems, maybe a fourth (1997)
Package Prices (2000)
webcat and OS 8 (1997)
what characters are replaced for tab and CR? (1998)
PCS Frames (1997)
[addlineitems] (1997)
Proper file locations (1997)
Almost a there but..bye bye NetCloak (1997)
Can't load tmpl files (1997)
Bookmarked URL with cart (1998)
Limit on nested [ShowIf]'s? (1997)
Web Developer Product Awards (1997)
Re:multiple digests, please stop (1997)
canEmail? (1998)
Rendering out a page (1997)
Online Docs? (1997)
Mail Lists (1998)