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:

European Convention... (2004) Form Submition (2003) Sendmail doesn't (was Queertrons?) (1997) Add all products to cart at once? (1997) WebCat2b15MacPlugin - showing [math] (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) [WebDNA] OT: just poking (2010) Location of Webcat site in folder hierarchy (1997) [searchString] (1997) Roundup function? (1997) Security Hole - NetCloak Update (1998) hidden (phantom) file downloads (2000) Wanted: More Math Functions (or, Can You Solve This?) (1997) Problems with [Applescript] (1997) (2000) wrong input values? (1997) [lineitems] Loop Break (2004) tcpconnect (1999) Math (1997) Webdna keeps dying... (2003)