Re: ConverChars

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23786
interpreted = N
texte = I think you might be right about only working on a single character although the manual seems to indicate strings will work. I make a simple test.tpl page to try to convert FunBoard to 2 and the result was: 2unBoardSo I got my 2, but also the rest of the input 'unBoard'Any suggestions from tech support?thanks, Jan charles kline wrote:> I am not positive 'cause I have never tried this, but I think > convertchars only works on a single character. The other problem might be > the space after the = and before the name of the .db > > >I need to convert some of my database fields from a text string to a '1' > > > >Currently I have a test.tpl which has the following on it: > > > > > >[ConvertChars db= shapes.db]FunBoard[/ConvertChars] > > > >I expected to get '1' printed. My shapes.db has: > >FROM TO > >FunBoard 1 > > > > > >However, I get a blank page instead of '1' > > > >any suggestions? > > > >thanks, > >Jan > > > > > > > > -- > _______________________________________________________________ > Charles Kline ckline@macsultants.com > WebMaster - eCommerce Specialist > > MacSultants > Professional Solutions for Computer Systems > > Phone# 609-273-3255 > Fax# 609-273-3721 Associated Messages, from the most recent to the oldest:

    
  1. Re: BUG: db= param of converchars within founditems loop ( Donovan Brooke 2005)
  2. BUG: db= param of converchars within founditems loop ( Donovan Brooke 2005)
  3. Re: converchars in sendmail context.... ( Alan White 2004)
  4. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  5. Re: converchars in sendmail context.... ( Alan White 2004)
  6. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  7. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  8. Re: converchars in sendmail context.... ( Alan White 2004)
  9. Re: converchars in sendmail context.... ( John Peacock 2004)
  10. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  11. Re: converchars in sendmail context.... ( Alex McCombie 2004)
  12. Re: converchars in sendmail context.... ( Rob Marquardt 2004)
  13. Re: converchars in sendmail context.... ( Alan White 2004)
  14. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  15. Re: converchars in sendmail context.... ( Alan White 2004)
  16. Re: converchars in sendmail context.... ( Alan White 2004)
  17. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  18. Re: converchars in sendmail context.... ( John Peacock 2004)
  19. Re: converchars in sendmail context.... ( Alan White 2004)
  20. converchars in sendmail context.... ( Alan White 2004)
  21. Re: ConverChars (Shelly M Medford 1999)
  22. Re: ConverChars (PCS Technical Support 1999)
  23. Re: ConverChars (Kenneth Grome 1999)
  24. Re: ConverChars (Jan Kinzler 1999)
  25. Re: ConverChars (charles kline 1999)
  26. Re: ConverChars (Alex McCombie 1999)
  27. Re: ConverChars (Jan Kinzler 1999)
  28. Re: ConverChars (Bob Minor 1999)
  29. Re: ConverChars (John Jakovich 1999)
  30. Re: ConverChars (Will Starck 1999)
  31. Re: ConverChars (charles kline 1999)
  32. ConverChars (Jan Kinzler 1999)
I think you might be right about only working on a single character although the manual seems to indicate strings will work. I make a simple test.tpl page to try to convert FunBoard to 2 and the result was: 2unBoardSo I got my 2, but also the rest of the input 'unBoard'Any suggestions from tech support?thanks, Jan charles kline wrote:> I am not positive 'cause I have never tried this, but I think > convertchars only works on a single character. The other problem might be > the space after the = and before the name of the .db > > >I need to convert some of my database fields from a text string to a '1' > > > >Currently I have a test.tpl which has the following on it: > > > > > >[ConvertChars db= shapes.db]FunBoard[/ConvertChars] > > > >I expected to get '1' printed. My shapes.db has: > >FROM TO > >FunBoard 1 > > > > > >However, I get a blank page instead of '1' > > > >any suggestions? > > > >thanks, > >Jan > > > > > > > > -- > _______________________________________________________________ > Charles Kline ckline@macsultants.com > WebMaster - eCommerce Specialist > > MacSultants > Professional Solutions for Computer Systems > > Phone# 609-273-3255 > Fax# 609-273-3721 Jan Kinzler

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:

F2 to F3 rocky transition (1997) Separate SSL Server (1997) suffix mapping, use of cache, etc. (1997) [include ...] behavior (1997) Date field search needs ... (1998) add to cart within a page? (1997) Running 2 two WebCatalog.acgi's (1996) Sku numbers (1997) RE: E-mailer error codes (1997) [WriteFile] problems (1997) Startup Script for 5.1g on iTools 8.2 (2006) Mozilla/4. and Browser Info.txt (1997) SSL, WebSTAR, WebCatalog (1998) upgrading (1997) WebDelivery downloads alias, not original ? (1997) [WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009) Pithy questions on webcommerce & siteedit (1997) Setting up WebCatalog with Retail Pro data (1996) Running _every_ page through WebCat ? (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)