Re: Quick Challenge

2015-08-28 Thread Bob Sneidar
Stop showing off Richmond! ;-P Bob S > On Aug 27, 2015, at 08:39 , Richmond wrote: > > Lots of clever answers . . . > > Now try with this text: > > Քրիստոնէութեան սկիզբը Հայոց համար եղաւ նաեւ մտքի լուսաւորութեան > սկիզբնաւորութիւնը. Մեր մէջ առաջին դպրոցները Լուսաւորչի աշխատանքով > հաստատու

Re: Quick Challenge

2015-08-27 Thread Richmond
On 08/27/2015 06:39 PM, Richmond wrote: Lots of clever answers . . . Now try with this text: Քրիստոնէութեան սկիզբը Հայոց համար եղաւ նաեւ մտքի լուսաւորութեան սկիզբնաւորութիւնը. Մեր մէջ առաջին դպրոցները Լուսաւորչի աշխատանքով հաստատուեցան: Սակայն Սուրբ Գրիգորի հիմնած դպրոցները ազգային կրթութեան

Re: Quick Challenge

2015-08-27 Thread Richmond
Lots of clever answers . . . Now try with this text: Քրիստոնէութեան սկիզբը Հայոց համար եղաւ նաեւ մտքի լուսաւորութեան սկիզբնաւորութիւնը. Մեր մէջ առաջին դպրոցները Լուսաւորչի աշխատանքով հաստատուեցան: Սակայն Սուրբ Գրիգորի հիմնած դպրոցները ազգային կրթութեան համար չէին եւ չէին ալ կրնար ըլլալ, նախ ա

Re: Quick Challenge

2015-08-27 Thread Roger Eller
COOL!!! I just learned a new thing! Thanks Mike. On Thu, Aug 27, 2015 at 11:15 AM, Mike Bonner wrote: > Rogers, using truewords > > on mouseUp >set the caseSensitive to true >put "Mary had a little LAMB. Its fleece was WHITE as cocaine. > Everywhere that > Mary went, she would shout,

Re: Quick Challenge

2015-08-27 Thread Mike Bonner
Rogers, using truewords on mouseUp set the caseSensitive to true put "Mary had a little LAMB. Its fleece was WHITE as cocaine. Everywhere that Mary went, she would shout, WINNING!" into tWords repeat for each trueword thisWord in tWords if thisWord is toUpper(thisWord) then put this

Re: Quick Challenge

2015-08-27 Thread David Bovill
Ah yes... I should think that's the fastest On Thursday, August 27, 2015, Colin Holgate wrote: > Almost typed fast enough to post the same answer! > > > > On Aug 27, 2015, at 10:47 AM, Malte Brill > wrote: > > > > Hi David, > > > > off the top of my head: > > > > function text_is_Caps pText

Re: Quick Challenge

2015-08-27 Thread Roger Eller
A silly variation... on mouseUp set the caseSensitive to true put "Mary had a little LAMB. Its fleece was WHITE as cocaine. Everywhere that Mary went, she would shout, WINNING!" into tWords replace "." with empty in tWords replace "," with empty in tWords replace "!" with empty in t

Re: Quick Challenge

2015-08-27 Thread Richmond
On 08/27/2015 05:39 PM, David Bovill wrote: So what's the quickest way to tell is a word is all caps in Livecode? I guess there are a lot of ways to skin a cat with this one. This is what I'm tinkering with: function text_IsCaps someText put "\b[A-Z]+\b" into someReg return matchtext (w

Re: Quick Challenge

2015-08-27 Thread Colin Holgate
Almost typed fast enough to post the same answer! > On Aug 27, 2015, at 10:47 AM, Malte Brill wrote: > > Hi David, > > off the top of my head: > > function text_is_Caps pText > set the caseSensitive to true > return pText = toUpper(pText) > end text_is_Caps > > Cheers, > > Malte > > >

Re: Quick Challenge

2015-08-27 Thread Malte Brill
Hi David, off the top of my head: function text_is_Caps pText set the caseSensitive to true return pText = toUpper(pText) end text_is_Caps Cheers, Malte -- derbrill IT-service Malte Pfaff-Brill Alsenstr. 15, d-24768 Rendsburg Tel: +49 4331-337 640 0 eMail: i...@derbrill.de web: http://ww

Quick Challenge

2015-08-27 Thread David Bovill
So what's the quickest way to tell is a word is all caps in Livecode? I guess there are a lot of ways to skin a cat with this one. This is what I'm tinkering with: function text_IsCaps someText >put "\b[A-Z]+\b" into someReg >return matchtext (word 1 to -1 of someText, someReg, anyThing) >