Function to Upper and Lower Case sentences
J. Landman Gay
jacque at hyperactivesw.com
Wed Dec 21 16:30:57 EST 2011
On 12/21/11 3:02 PM, Sivakatirswami wrote:
> OK yes, Title case is easy... It's sentence case I was looking for
> because a period/dot is not part of a word. I guess one could use a dot
> as a line delimiter and then step thru the lines.
Seems like there should be some kind of fancy regex to do this,
something that looks for space-period-character and capitalizes the
character part. Maybe one of our regex gurus knows how.
I think your lines solution could work too. You might have to make a
more than one pass if you think there will be question marks or
exclamation points at line endings.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list