Re: [WebDNA] checking for mixed case text

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102725
interpreted = N
texte = Use convertchars to change it into ASCII values? Just use the data from http://www.asciitable.com/ to make a custom convertchars db. A=65, a=97 [text show=f]namel=VAN HALEN[/text] [showif [convertchars db=ascii.db][capitalize][namel][/capitalize][/convertchars]=[convertchars db=ascii.db][namel][/convertchars]] [/showif] Dana E Keil wrote: > I'm trying to deal with people who enter their names IN ALL CAPS!!! > when registering (or those who enter all lowercase). The capitalize > tag does this, but it messes with names of people like O'Rourke, de la > Torre, and so on. > > So I figure that a good compromise would be to accept anyone's input > if they typed it in mixed case -- those who know that their names have > non-regular capitalization might be more likely not to write their > names in all caps (I think I'm not being delusional here). > > But I cannot figure out how to get WebDNA to check a text string to > report whether it is mixed case or not. The showif comparisons are > case insensitive by default and it looks like there's no option to > make them case sensitive. > > Does anyone have an idea how to do what I want? > > -- > Dana > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > > 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)
  10. [WebDNA] checking for mixed case text (Dana E Keil 2009)
Use convertchars to change it into ASCII values? Just use the data from http://www.asciitable.com/ to make a custom convertchars db. A=65, a=97 [text show=f]namel=VAN HALEN[/text] [showif [convertchars db=ascii.db][capitalize][namel][/capitalize][/convertchars]=[convertchars db=ascii.db][namel][/convertchars]] [/showif] Dana E Keil wrote: > I'm trying to deal with people who enter their names IN ALL CAPS!!! > when registering (or those who enter all lowercase). The capitalize > tag does this, but it messes with names of people like O'Rourke, de la > Torre, and so on. > > So I figure that a good compromise would be to accept anyone's input > if they typed it in mixed case -- those who know that their names have > non-regular capitalization might be more likely not to write their > names in all caps (I think I'm not being delusional here). > > But I cannot figure out how to get WebDNA to check a text string to > report whether it is mixed case or not. The showif comparisons are > case insensitive by default and it looks like there's no option to > make them case sensitive. > > Does anyone have an idea how to do what I want? > > -- > Dana > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > > Matthew Bohne

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:

Status of variable hierarchy changes? (2000) Caching [include] files ... (1997) WebDNA Quick Reference (Reserved Words) (2000) Questions To Answer (1997) Redirect frame targets (1998) Show shoppingcart after remove last item (1997) Monitoring Script (2008) Merchant and WebCat 3.0 (1998) Image Upload? (2002) How to upgrade from 3.04 to 3.08? And Netcraft (2000) Rounding problem (1998) Yet another db manager (2004) Hard Questions ? (1997) time wrong in emails from emailer!? (2002) Special characters & [sendmail] (1998) Security Tip (1996) How did *you* learn Web Catalog? (2000) NT considerations (1997) TCP Connect/send and CGI (2003) Updating Prices in Online Database (1999)