Function to Upper and Lower Case sentences

Pete pete at mollysrevenge.com
Wed Dec 21 17:00:57 EST 2011


Or a close paren?  Seems like modern English usage is to put the period
before the close paren at the end of a sentence (although I personally hate
that).

On Wed, Dec 21, 2011 at 1:30 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> 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
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>



More information about the use-livecode mailing list