Re: [WebDNA] keep variable only letters and numbers

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112367
interpreted = N
texte = --Apple-Mail=_804D0A6F-D98C-4555-998A-41A7B2344A99 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii [SHOWIF [grep = search=3D([^a-zA-Z0-9])&replace=3D#][VARIABLE1][/grep]^#][redirect = index.tpl?message=3DYou must use only letters and numbers][/SHOWIF] Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 13 Jul 2015, at 06:02, Stephen Reiss wrote: >=20 > 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. >=20 >=20 >=20 > 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 letters and numbers][/showif] >> [showif [char]=3D@][redirect 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] >> [showif [char]=3D$][redirect 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] >> [showif [char]=3D^][redirect 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] >>=20 >>=20 >> Thanksomuch! >>=20 >> Stephen F Braun >> sbraun1@twcny.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 = ------------------------------------------------= --------- 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=_804D0A6F-D98C-4555-998A-41A7B2344A99 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

[SHOWIF [grep = search=3D([^a-zA-Z0-9])&replace=3D#][VARIABLE1][/grep]^#][redirect = index.tpl?message=3DYou must use only letters and numbers][/SHOWIF]




Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 13 Jul 2015, at 06:02, Stephen Reiss <wineguy@mac.com> = wrote:

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 <sbraun1@twcny.rr.com> wrote:

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]
[listchars= chars=3D[variable1]]
     [showif =[char]=3D!][redirect 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]
[showif [char]=3D#][redirect 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]
[showif [char]=3D%][redirect = 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]
[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
--------------------------------------------------------- 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
--------------------------------------------------------- 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=_804D0A6F-D98C-4555-998A-41A7B2344A99-- 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=_804D0A6F-D98C-4555-998A-41A7B2344A99 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii [SHOWIF [grep = search=3D([^a-zA-Z0-9])&replace=3D#][VARIABLE1][/grep]^#][redirect = index.tpl?message=3DYou must use only letters and numbers][/SHOWIF] Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 13 Jul 2015, at 06:02, Stephen Reiss wrote: >=20 > 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. >=20 >=20 >=20 > 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 letters and numbers][/showif] >> [showif [char]=3D@][redirect 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] >> [showif [char]=3D$][redirect 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] >> [showif [char]=3D^][redirect 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] >>=20 >>=20 >> Thanksomuch! >>=20 >> Stephen F Braun >> sbraun1@twcny.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 = ------------------------------------------------= --------- 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=_804D0A6F-D98C-4555-998A-41A7B2344A99 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

[SHOWIF [grep = search=3D([^a-zA-Z0-9])&replace=3D#][VARIABLE1][/grep]^#][redirect = index.tpl?message=3DYou must use only letters and numbers][/SHOWIF]




Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 13 Jul 2015, at 06:02, Stephen Reiss <wineguy@mac.com> = wrote:

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 <sbraun1@twcny.rr.com> wrote:

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]
[listchars= chars=3D[variable1]]
     [showif =[char]=3D!][redirect 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]
[showif [char]=3D#][redirect 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]
[showif [char]=3D%][redirect = 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]
[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
--------------------------------------------------------- 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
--------------------------------------------------------- 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=_804D0A6F-D98C-4555-998A-41A7B2344A99-- Stuart Tremain

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:

LOG IN LOG OUT (1997) taxRate and grandTotal calculation is not showing up on my (2000) WebCatalog 4.0.1 has been released! (2000) template includes encrypted template (1999) whole word matching (2004) [cart]'s ever get recycled? (2000) RE: (OFF TOPIC) System 8.5.1 FINDER ERROR (1999) Summarising on two fields (1998) Security Question (1997) Rhapsody? (1997) NT or Mac (1998) StoreBuilder Shopping Cart (2000) [shownext max=?] armed (1997) this year (2000) Looping control (1997) Deleting Multiple Database Records based on Checkbox (1998) Apache 2.2 (2007) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WC TableGrinder (1997) Sorting Numbers (1997)