RE: [WebDNA] checking for mixed case text

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102728
interpreted = N
texte = You could just use grep like this (fields that fail this are either all = upper or all lower case) [showif [Grep search=3D([A-Z])&replace=3D#][Grep = search=3D([a-z])&replace=3D%][FIELD_YOU_ARE_CHECKING][/grep][/grep]^#] [showif [Grep search=3D([A-Z])&replace=3D#][Grep = search=3D([a-z])&replace=3D%][FIELD_YOU_ARE_CHECKING][/grep][/grep]^%]  is mixed case [/showif] [/showif] The grep will change all caps to # and all lowercase to % then you just = check that the field has at least one of each. Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] checking for mixed case text (Dana E Keil 2009)
  2. RE: [WebDNA] checking for mixed case text ("Olin Lagon" 2009)
  3. Re: [WebDNA] checking for mixed case text (Marc Thompson 2009)
  4. Re: [WebDNA] checking for mixed case text (christophe.billiottet@webdna.us 2009)
  5. Re: [WebDNA] checking for mixed case text (Matthew Bohne 2009)
  6. Re: [WebDNA] checking for mixed case text (Kenneth Grome 2009)
  7. Re: [WebDNA] checking for mixed case text (Govinda 2009)
  8. Re: [WebDNA] checking for mixed case text (Terry Wilson 2009)
  9. Re: [WebDNA] checking for mixed case text (Brian Fries 2009)
You could just use grep like this (fields that fail this are either all = upper or all lower case) [showif [Grep search=3D([A-Z])&replace=3D#][Grep = search=3D([a-z])&replace=3D%][FIELD_YOU_ARE_CHECKING][/grep][/grep]^#] [showif [Grep search=3D([A-Z])&replace=3D#][Grep = search=3D([a-z])&replace=3D%][FIELD_YOU_ARE_CHECKING][/grep][/grep]^%]  is mixed case [/showif] [/showif] The grep will change all caps to # and all lowercase to % then you just = check that the field has at least one of each. "Olin Lagon"

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:

[ot] html question (2000) [WebDNA] MacOS 10.5 instal/config. I'm drowning. ...just needs to work for LOCAL one person (2008) FTP FOLDER PERMISSIONS (2004) WebDNA 5 - Function test weirdness or ? (2003) WebDNA Codes in Secure Mode (1997) SiteGuard Admin Feature ? (1997) ACGI processing for .html (1997) Problems with [Applescript] (1997) Requiring that certain fields be completed (1997) ReturnRaw context (1997) Include a big block of text (1997) [WebDNA] Best WebDNA version for OS X Server 10.5.8 on PowerPC? (2010) Middle Context (2002) Tab Charactor (1997) problem with [include] and Web*/SSL 3.0.1 (1998) F*** you (1998) Showing unopened cart (1997) WebCat with WebTen (1998) change the number format (1997) Navigator Parsing (1997)