[WebDNA] keep variable only letters and numbers

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112365
interpreted = N
texte = --047d7bd76778f85895051ab2a606 Content-Type: text/plain; charset=UTF-8 Hi All, Happy Summer! Does anyone have a quick way to search a variable, for characters that are non-letter, non-numbers without having to use 256 showif tags? Like this... [text]variable1=Xe45bTc[/text] [listchars chars=[variable1]] [showif [char]=!][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=@][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=#][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=$][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=%][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=^][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=&][redirect index.tpl?message=You must use only letters and numbers][/showif] etc etc [/listchars] Thanksomuch! Stephen F Braun sbraun1@twcny.rr.com --047d7bd76778f85895051ab2a606 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,
Happy Summer!

Does anyone have a quick way to search a variable, for characters that are= non-letter, non-numbers without having to use 256 showif tags?

Like this...

[text]variable1=3DXe45bTc[/text]
[listc= hars chars=3D[variable1]]
     [showif [char]=3D!][redir=ect index.tpl?message=3DYou must use only letters and numbers][/showif]
= [showif [char]=3D@][redirect index.tpl?message=3DYou must use only let= ters and numbers][/showif]
[showif [char]=3D#][redirect index.tpl?m= essage=3DYou must use only letters and numbers][/showif]
[showif [c= har]=3D$][redirect index.tpl?message=3DYou must use only letters and number= s][/showif]
[showif [char]=3D%][redirect index.tpl?message=3DYou mu= st use only letters and numbers][/showif]
[showif [char]=3D^][redir= ect index.tpl?message=3DYou must use only letters and numbers][/showif]
= [showif [char]=3D&][redirect index.tpl?message=3DYou must use only= letters and numbers][/showif]
etc
etc
[/listchars]

Thanksomuch!

Stephen F Braun
sbraun1@twcny.rr.com
<= /div>
--047d7bd76778f85895051ab2a606-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] keep variable only letters and numbers (Stuart Tremain 2015)
  2. Re: [WebDNA] keep variable only letters and numbers (Stephen Reiss 2015)
  3. [WebDNA] keep variable only letters and numbers (Steve Braun 2015)
--047d7bd76778f85895051ab2a606 Content-Type: text/plain; charset=UTF-8 Hi All, Happy Summer! Does anyone have a quick way to search a variable, for characters that are non-letter, non-numbers without having to use 256 showif tags? Like this... [text]variable1=Xe45bTc[/text] [listchars chars=[variable1]] [showif [char]=!][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=@][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=#][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=$][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=%][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=^][redirect index.tpl?message=You must use only letters and numbers][/showif] [showif [char]=&][redirect index.tpl?message=You must use only letters and numbers][/showif] etc etc [/listchars] Thanksomuch! Stephen F Braun sbraun1@twcny.rr.com --047d7bd76778f85895051ab2a606 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,
Happy Summer!

Does anyone have a quick way to search a variable, for characters that are= non-letter, non-numbers without having to use 256 showif tags?

Like this...

[text]variable1=3DXe45bTc[/text]
[listc= hars chars=3D[variable1]]
     [showif [char]=3D!][redir=ect index.tpl?message=3DYou must use only letters and numbers][/showif]
= [showif [char]=3D@][redirect index.tpl?message=3DYou must use only let= ters and numbers][/showif]
[showif [char]=3D#][redirect index.tpl?m= essage=3DYou must use only letters and numbers][/showif]
[showif [c= har]=3D$][redirect index.tpl?message=3DYou must use only letters and number= s][/showif]
[showif [char]=3D%][redirect index.tpl?message=3DYou mu= st use only letters and numbers][/showif]
[showif [char]=3D^][redir= ect index.tpl?message=3DYou must use only letters and numbers][/showif]
= [showif [char]=3D&][redirect index.tpl?message=3DYou must use only= letters and numbers][/showif]
etc
etc
[/listchars]

Thanksomuch!

Stephen F Braun
sbraun1@twcny.rr.com
<= /div>
--047d7bd76778f85895051ab2a606-- Steve Braun

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:

TCP/IP connect (1998) WebCat wont loose it's cookies! (1999) Adding content advice needed (1998) Grep help, please ... (2003) RAM variables (1997) File Upload (1997) Trouble with formula.db (1997) [WebDNA] Function "libraries" (2009) Sorting by date (1997) Sorting (1998) Notepad problems (1998) Signal Raised Error (Part III) (1997) Make sure I understand this??? (1997) New Cart No. on same page (2003) Webcat no longer supported? (2006) Dark Horse Comics success story (1997) I have observed and I am gone. (1998) TaxTotal (2003) WebCatalog and WebMerchant reviewed by InfoWorld (1997) Anyone with a solution for this? (2001)