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 letterfollowing a space) is capitalized. If the remaining letters in the word areuppercase, they will be changed to lowercase. If the word begins with anumeral, the numeral is left unchanged, and the rest of the letters willbecome lowercase. No attempt is made to be grammatically correct -- articlessuch 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 BehalfOf Ben SwihartSent: Friday, June 07, 2002 10:50 AMTo: WebCatalog TalkSubject: ALL CAPS converted to All Caps - first letter capitalized onlyHas anyone got a script that will convert any text into text with each wordhaving a capitalized letter?Ok, surely someone out there has encountered data sets that look like thisALLCAPS.DB :ID FIELD1 FIELD2 FIELD31 SOMETHING YELLED IN ALL CAPS2 IT'S AWFUL I KNOW LIKE HUMANS CAN READ IN ALL CAPSSo, what I want, is to display on the web this data in readable form, likethis:[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 Network423.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 toWeb 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:
[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 letterfollowing a space) is capitalized. If the remaining letters in the word areuppercase, they will be changed to lowercase. If the word begins with anumeral, the numeral is left unchanged, and the rest of the letters willbecome lowercase. No attempt is made to be grammatically correct -- articlessuch 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 BehalfOf Ben SwihartSent: Friday, June 07, 2002 10:50 AMTo: WebCatalog TalkSubject: ALL CAPS converted to All Caps - first letter capitalized onlyHas anyone got a script that will convert any text into text with each wordhaving a capitalized letter?Ok, surely someone out there has encountered data sets that look like thisALLCAPS.DB :ID FIELD1 FIELD2 FIELD31 SOMETHING YELLED IN ALL CAPS2 IT'S AWFUL I KNOW LIKE HUMANS CAN READ IN ALL CAPSSo, what I want, is to display on the web this data in readable form, likethis:[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 Network423.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 toWeb 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:
U&P IIS concept (1998)
Convert Chars Q (2000)
proper way to check if a container is empty? (2000)
Sorting Numbers (1997)
[WebDNA] Admin Login Required to Serve any TPL Page (2009)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Question about replacing words (1998)
Newbie problem blah blah blah (1997)
Why WebMerchant not working? (1999)
Re:quit command on NT (1997)
[isfile] ? (1997)
customizing the color of user's pages (1997)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
WCS Newbie question (1997)
SETCOOKIE Problems (2003)
Number of Feilds Passed to [append] (2000)
WC Database Format (1997)
Getting total number of items ordered (1997)
Error.html (1997)
unsubscribe (2000)