Re: [WebDNA] keep variable only letters and numbers

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112366
interpreted = N
texte = --Apple-Mail-EA3185AB-F9B8-4AFC-A95F-D43763D2BB1E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable I am sure someone will have a better answer, and I am on my way out the door= , but I would think the answer lies in either ASCII or Grep. > On Jul 12, 2015, at 4:31 PM, Steve Braun wrote: >=20 > Hi All, > Happy Summer! >=20 > 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? >=20 > Like this... >=20 > [text]variable1=3DXe45bTc[/text] > [listchars chars=3D[variable1]] > [showif [char]=3D!][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D@][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D#][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D$][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D%][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D^][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D&][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > etc > etc > [/listchars] >=20 >=20 > Thanksomuch! >=20 > Stephen F Braun > sbraun1@twcny.rr.com > --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe, E= -mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting:= support@webdna.us --Apple-Mail-EA3185AB-F9B8-4AFC-A95F-D43763D2BB1E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
I am sure someone will have a better a= nswer, and I am on my way out the door, but I would think the answer lies in= either ASCII or Grep.



On Jul 12, 2015, at 4:31 PM= , Steve Braun <sbraun1@twcny.rr.c= om> wrote:

Hi All,
Happy Summer!

Does anyone ha= ve 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]
[listchars chars=3D[vari= able1]]
     [showif [char]=3D!][redirect index.tpl?messa=ge=3DYou must use only letters and numbers][/showif]
[showif [char]=3D= @][redirect index.tpl?message=3DYou must use only letters and numbers][/show= if]
[showif [char]=3D#][redirect index.tpl?message=3DYou must use on= ly letters and numbers][/showif]
[showif [char]=3D$][redirect index.= tpl?message=3DYou must use only letters and numbers][/showif]
[showi= f [char]=3D%][redirect index.tpl?message=3DYou must use only letters and num= bers][/showif]
[showif [char]=3D^][redirect index.tpl?message=3DYou m= ust use only letters and numbers][/showif]
[showif [char]=3D&][r= edirect index.tpl?message=3DYou must use only letters and numbers][/showif]<= br> etc
etc
[/listchars]


Thankso= much!

Stephen F Braun
sbraun1@t= wcny.rr.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.= webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
= --Apple-Mail-EA3185AB-F9B8-4AFC-A95F-D43763D2BB1E-- 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)
--Apple-Mail-EA3185AB-F9B8-4AFC-A95F-D43763D2BB1E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable I am sure someone will have a better answer, and I am on my way out the door= , but I would think the answer lies in either ASCII or Grep. > On Jul 12, 2015, at 4:31 PM, Steve Braun wrote: >=20 > Hi All, > Happy Summer! >=20 > 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? >=20 > Like this... >=20 > [text]variable1=3DXe45bTc[/text] > [listchars chars=3D[variable1]] > [showif [char]=3D!][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D@][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D#][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D$][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D%][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D^][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > [showif [char]=3D&][redirect index.tpl?message=3DYou must use only le= tters and numbers][/showif] > etc > etc > [/listchars] >=20 >=20 > Thanksomuch! >=20 > Stephen F Braun > sbraun1@twcny.rr.com > --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe, E= -mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting:= support@webdna.us --Apple-Mail-EA3185AB-F9B8-4AFC-A95F-D43763D2BB1E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
I am sure someone will have a better a= nswer, and I am on my way out the door, but I would think the answer lies in= either ASCII or Grep.



On Jul 12, 2015, at 4:31 PM= , Steve Braun <sbraun1@twcny.rr.c= om> wrote:

Hi All,
Happy Summer!

Does anyone ha= ve 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]
[listchars chars=3D[vari= able1]]
     [showif [char]=3D!][redirect index.tpl?messa=ge=3DYou must use only letters and numbers][/showif]
[showif [char]=3D= @][redirect index.tpl?message=3DYou must use only letters and numbers][/show= if]
[showif [char]=3D#][redirect index.tpl?message=3DYou must use on= ly letters and numbers][/showif]
[showif [char]=3D$][redirect index.= tpl?message=3DYou must use only letters and numbers][/showif]
[showi= f [char]=3D%][redirect index.tpl?message=3DYou must use only letters and num= bers][/showif]
[showif [char]=3D^][redirect index.tpl?message=3DYou m= ust use only letters and numbers][/showif]
[showif [char]=3D&][r= edirect index.tpl?message=3DYou must use only letters and numbers][/showif]<= br> etc
etc
[/listchars]


Thankso= much!

Stephen F Braun
sbraun1@t= wcny.rr.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.= webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
= --Apple-Mail-EA3185AB-F9B8-4AFC-A95F-D43763D2BB1E-- Stephen Reiss

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:

WebCat2b13MacPlugin - nested [xxx] contexts (1997) encrypt (2000) Moment of Thanks (1997) Re:Emailer Set Up (1997) Searching an Email database (1997) Separate SSL Server (1997) AppleScript: Tell application:app location? (1998) Hiding HTML and breaking the page (1997) WebCat2.0 [format thousands .0f] no go (1997) protect tag not working (1998) Part Html part WebDNA (1997) [WebDNA] Email With Auth (2013) [append] vs. [appendfile] delta + question? (1997) Expected Behavior? (1999) company names not begin with a letter (2005) Nested searches (1998) html being uncooperative (2000) PSC recommends what date format yr 2000??? (1997) Can't find templaes (1997) What really killed WebDNA? (2007)