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:

Show items based on login Password (2003) PCS Frames-Default page is solution! (1997) Location of Browser Info.txt file (1997) [WriteFile] problems (1997) Security Levels... Possible? (2000) WebCatalog for guestbook ? (1997) Adding insurance to an order, round 2 (2003) [include] error message (was:how to put/keep product customization info in basket?) (1998) Document Contains No Data! (1997) Database (2002) Help! WebCat2 bug (1997) Error Lob.db records error message not name (1997) WebCat2 Append problem (B14Macacgi) (1997) New NT beta available (1997) faxing orders (2000) WC1.6 to WC2 date formatting -FIXED! (1997) Writing to PDF (2003) List Address Changed! (1998) WebCatalog.acgi quitting with error Type 2 (1998) OT: Help Wanted/Stowe, Vermont (1999)