Re: ALL CAPS converted to All Caps - first letter capitalizedonly

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40502
interpreted = N
texte = [Capitalize]Any Text[/Capitalize] Capitalizes the first letter of all words in a sentence. To convert the words of a sentence to capitalized form, put them inside a [Capitalize] context. Only the first letter of each word (any letter following a space) is capitalized. If the remaining letters in the word are uppercase, they will be changed to lowercase. If the word begins with a numeral, the numeral is left unchanged, and the rest of the letters will become lowercase. No attempt is made to be grammatically correct -- articles such as a, an, of are capitalized just like any other word. http://betadoc.smithmicro.com/CapitalizeContext.html -----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Ben Swihart Sent: Friday, June 07, 2002 10:50 AM To: WebCatalog Talk Subject: ALL CAPS converted to All Caps - first letter capitalized only Has anyone got a script that will convert any text into text with each word having a capitalized letter?Ok, surely someone out there has encountered data sets that look like thisALLCAPS.DB :ID FIELD1 FIELD2 FIELD3 1 SOMETHING YELLED IN ALL CAPS 2 IT'S AWFUL I KNOW LIKE HUMANS CAN READ IN ALL CAPS So, what I want, is to display on the web this data in readable form, like this:[search db=allcaps.db&eqIDdata=1][founditems][SomeNiftyLowercaseConversion=here][field1] [field2] [field3][/SomeNiftyLowercaseConversion=here][/founditems][/search]Which would be:Something Yelled In All Caps.Is there a way to just capitalize the first letter? I see how to lowercase / uppercase text...Ben M. Swihart, GoTriCities.com Network 423.392.1123 or 423.354.0473 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: ALL CAPS converted to All Caps - first letter capitalizedonly (Ben Swihart 2002)
  2. Re: ALL CAPS converted to All Caps - first letter capitalizedonly (Brian Boegershausen 2002)
[capitalize]Any Text[/Capitalize] Capitalizes the first letter of all words in a sentence. To convert the words of a sentence to capitalized form, put them inside a [capitalize] context. Only the first letter of each word (any letter following a space) is capitalized. If the remaining letters in the word are uppercase, they will be changed to lowercase. If the word begins with a numeral, the numeral is left unchanged, and the rest of the letters will become lowercase. No attempt is made to be grammatically correct -- articles such as a, an, of are capitalized just like any other word. http://betadoc.smithmicro.com/CapitalizeContext.html -----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Ben Swihart Sent: Friday, June 07, 2002 10:50 AM To: WebCatalog Talk Subject: ALL CAPS converted to All Caps - first letter capitalized only Has anyone got a script that will convert any text into text with each word having a capitalized letter?Ok, surely someone out there has encountered data sets that look like thisALLCAPS.DB :ID FIELD1 FIELD2 FIELD3 1 SOMETHING YELLED IN ALL CAPS 2 IT'S AWFUL I KNOW LIKE HUMANS CAN READ IN ALL CAPS So, what I want, is to display on the web this data in readable form, like this:[search db=allcaps.db&eqIDdata=1][founditems][SomeNiftyLowercaseConversion=here][field1] [field2] [field3][/SomeNiftyLowercaseConversion=here][/founditems][/search]Which would be:Something Yelled In All Caps.Is there a way to just capitalize the first letter? I see how to lowercase / uppercase text...Ben M. Swihart, GoTriCities.com Network 423.392.1123 or 423.354.0473 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Brian Boegershausen

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:

[defined]ish (1997) WebCatalog/Mac 2.1b2 - PIXO (1997) what the... (2004) Showif, Hideif reverse logic ? (1997) Opinion: [input] should be called [output] ... (1997) WC on Mac OS X or Mac OS X Server 2.x (2001) (1997) [OT] Change permissions via FTP? (2002) Comments in db? (1997) strange IE 4.0 (1998) Dismissing dialogs (was 2.1b3 --> way slow) (1997) Running _every_ page through WebCat-error.html (1997) Hard Questions ? (1997) [WebDNA] Two different mail servers? (2011) Multiple Merchant Accounts? (1997) [addlineitems] (1997) WebCatalog.acgi quitting with error Type 2 (1998) WebCat2 - many [carts] on one template page? (1997) off topic - dna snipets (1997) controlling form elements (slightly OT) (2003)