Re: Feature Request [SentenceCase]

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62092
interpreted = N
texte = MS Word has something that works on a period. As with all things like that, there are problems such as those in [Capitalize] when you have something like MacDonalds. Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 On 02 Jun 2005, at 12:02 PM, Donovan Brooke wrote: > 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/ > ------------------------------------------------------------- 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)
MS Word has something that works on a period. As with all things like that, there are problems such as those in [capitalize] when you have something like MacDonalds. Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 On 02 Jun 2005, at 12:02 PM, Donovan Brooke wrote: > 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/ > ------------------------------------------------------------- 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/ Stuart Tremain

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:

[addfields] bombing 5.0 (2003) Plugin or CGI or both (1997) NT 4.0/IIS WebCat Installation (1998) [OT] Change permissions via FTP? (2002) [WebDNA] Clean URLS job - will pay (2010) Make sure I understand this??? (1997) Mac: LModelDirector bug fix (1997) RAM variables (1997) WC2b15 File Corruption (1997) Cookie Crumble (1998) [OT] (waaaay OT) (2004) Error Log.db --however (1997) BR (1997) runtime (2000) The Form authentication trick (2000) webcat & permissions (1999) WebCat & WebTen (1997) carriage returns in data (1997) [OT] See Flash? (2003) Nested tags count question (1997)