Re: [convertchars] HELP!!!

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22797
interpreted = N
texte = You should be able to just put a space character in your convert.db and not put anything in the to field. So your database would look something like this:FromTo Where is an actual tab character, is a space, and is a carriage return.-Dave At 6:39 PM 1/21/99, Talklist wrote: >Hey guys , I'm having a little trouble with the [convertchars] tag.... >I am trying to get rid of the space character of a particular field when I >generate folders for each record , ripping the space characters completely >out would be idea , but I cant seem to convert %20 to nothing, I mean >there's no symbol for a delete command is there...heh heh , next I thought >well I could just convert spaces to underscores, but I am also have problems >with that.. >first of all I made a db for conversions in the same folder as my templates >named convert.db. I tried this to convert the characters > >%20_ > >but that didn't work ether...is this right? or should the space be  ? > >also lets make sure I'm coding right here... > >on my template that I am doing the conversion I have > >[Search db=data.db&geSKUdata=0] >[FoundItems] > [createfolder file=webpages/[convertchars >db=convert.db][companyname][/convertchars]/&secure=f] >[/FoundItems] >[/Search] > >am i using [converchars] right here ? > > >any help would be gladly appreciated o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:

    
  1. [convertchars] HELP!!! (Talklist 1999)
  2. Re: [convertchars] HELP!!! (Kenneth Grome 1999)
  3. Re: [convertchars] HELP!!! (Dave MacLeay 1999)
You should be able to just put a space character in your convert.db and not put anything in the to field. So your database would look something like this:FromTo Where is an actual tab character, is a space, and is a carriage return.-Dave At 6:39 PM 1/21/99, Talklist wrote: >Hey guys , I'm having a little trouble with the [convertchars] tag.... >I am trying to get rid of the space character of a particular field when I >generate folders for each record , ripping the space characters completely >out would be idea , but I cant seem to convert %20 to nothing, I mean >there's no symbol for a delete command is there...heh heh , next I thought >well I could just convert spaces to underscores, but I am also have problems >with that.. >first of all I made a db for conversions in the same folder as my templates >named convert.db. I tried this to convert the characters > >%20_ > >but that didn't work ether...is this right? or should the space be  ? > >also lets make sure I'm coding right here... > >on my template that I am doing the conversion I have > >[Search db=data.db&geSKUdata=0] >[founditems] > [createfolder file=webpages/[convertchars >db=convert.db][companyname][/convertchars]/&secure=f] >[/FoundItems] >[/Search] > >am i using [converchars] right here ? > > >any help would be gladly appreciated o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Dave MacLeay

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:

webmerch and serials - almost there (1997) japanese characters (1997) [WebDNA] .htm files (2008) [WebDNA] Date: header on emails - timezone problem perhaps (2010) For those of you not on the WebCatalog Beta... (1997) upgrade? (1997) [OT] Unix question -solution?- (2002) can pull down menu do a ONCHANGE= without Java script? (2000) WCf2 and nested tags (1997) UPS Shipping Primer (2003) Relevancy Rating (1998) Frames and WebCat (1997) WCS Newbie question (1997) Director 7 (1999) ShowNext (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) HTML Editors (1997) [WebDNA] Search not sorting (2017) WebCatalog 2.0 b 15 mac (1997) multi-paragraph fields (1997)