Re: ConverChars
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23797
interpreted = N
texte = Looks to me like strings will only work in the TO field.>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: 2unBoard>>So 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>>>--_______________________________________________________________Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultantsProfessional Solutions for Computer SystemsPhone# 609-273-3255Fax# 609-273-3721
Associated Messages, from the most recent to the oldest:
Looks to me like strings will only work in the TO field.>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: 2unBoard>>So 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>>>--_______________________________________________________________Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultantsProfessional Solutions for Computer SystemsPhone# 609-273-3255Fax# 609-273-3721
charles kline
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:
Dummy Credit Card Number for debug? (1997)
security (https) w webcat (1999)
File commands and Wild Cards ?? (1998)
Authorize.Net and AIM (2004)
This list needs a digest: rant, rave... (1997)
Credit Card Number checking (1997)
newbies to web, spaces in email address (1998)
$Replace with [founditems] (1997)
Re:Version 2.0 and 1.6 simultaneous (1997)
Beta 3.0.3 fix for serial# problem (Mac) (1998)
WebDNA + MLS (2006)
Repost: Orderfile, Grandtotal: How do I get it to all add up. (2000)
Re[2]: Weird [blank] interpretation (1999)
[WebDNA] V8.6 FCGI (2018)
WebCat2b15MacPlugin - showing [math] (1997)
[convertchars] (2000)
(slightly off) using menu and [search] (1998)
Logical and or in [hideif] (1997)
upgrading (1997)
AAAH: stupid sendmail (2001)