Re: Feature Request [SentenceCase]

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62091
interpreted = N
texte = Stuart Tremain wrote: > Hey Smith Micro > > Would it be possible to have something like this ? > > IT WOULD CONVERT THIS. > into > It would convert this. > > or convert this. > into > Or convert this. Stuart, the difficulty I see with this type of thing is what to set the change off of. You can't use a period because of abreviations etc... You can create a "SentenceCase" function yourself... for example [function name=SentenceCase] [getchars start=1&end=1][instring][/getchars][getchars start=2][lowercase][instring][/lowercase][/getchars] [/function] call by: [SentenceCase instring=The LAZY brown Fox...] The problem is that you'd have to call the function for each new sentence. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Euca Design Center <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Euca Design Center 1871 HWY MM Fitchburg, WI 53575 PH:> 1.608.835.2476 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Feature Request [SentenceCase] ( "WebDna @ Inkblot Media" 2005)
  2. Re: Feature Request [SentenceCase] ( Stuart Tremain 2005)
  3. Re: Feature Request [SentenceCase] ( Donovan Brooke 2005)
  4. Feature Request [SentenceCase] ( Stuart Tremain 2005)
Stuart Tremain wrote: > Hey Smith Micro > > Would it be possible to have something like this ? > > IT WOULD CONVERT THIS. > into > It would convert this. > > or convert this. > into > Or convert this. Stuart, the difficulty I see with this type of thing is what to set the change off of. You can't use a period because of abreviations etc... You can create a "SentenceCase" function yourself... for example [function name=SentenceCase] [getchars start=1&end=1][instring][/getchars][getchars start=2][lowercase][instring][/lowercase][/getchars] [/function] call by: [SentenceCase instring=The LAZY brown Fox...] The problem is that you'd have to call the function for each new sentence. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Euca Design Center <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Euca Design Center 1871 HWY MM Fitchburg, WI 53575 PH:> 1.608.835.2476 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Donovan Brooke

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:

2 databases problem (1997) WebCatalog Plug-in for Webstar. (1997) Problems with cybercash (2000) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) test (2002) Further tests with the infamous shipCost (1997) WebCat2 beta 11 - new prefs ... (1997) ODBC-Interface (2000) WC2.0 Memory Requirements (1997) Help with database strategy (1998) add to cart within a page? (1997) [WebDNA] Problems with WebCatalogCtl command (2009) WebCatalog2 Feature Feedback (1996) Strange Question (2003) RE: formula.db, adding option prices (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Country & Ship-to address & other fields ? (1997) [WebDNA] Processor Maxing out (2010) Multiple Merchant Accounts? (1997) RE: protect tag on NT (1997)