Stop showing off Richmond! ;-P
Bob S
On Aug 27, 2015, at 08:39 , Richmond richmondmathew...@gmail.com wrote:
Lots of clever answers . . .
Now try with this text:
Քրիստոնէութեան սկիզբը Հայոց համար եղաւ նաեւ մտքի լուսաւորութեան
սկիզբնաւորութիւնը. Մեր մէջ առաջին դպրոցները Լուսաւորչի
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)
COOL!!! I just learned a new thing! Thanks Mike.
On Thu, Aug 27, 2015 at 11:15 AM, Mike Bonner bonnm...@gmail.com 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
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:
Almost typed fast enough to post the same answer!
On Aug 27, 2015, at 10:47 AM, Malte Brill revolut...@derbrill.de 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
On 08/27/2015 06:39 PM, Richmond wrote:
Lots of clever answers . . .
Now try with this text:
Քրիստոնէութեան սկիզբը Հայոց համար եղաւ նաեւ մտքի լուսաւորութեան
սկիզբնաւորութիւնը. Մեր մէջ առաջին դպրոցները Լուսաւորչի աշխատանքով
հաստատուեցան: Սակայն Սուրբ Գրիգորի հիմնած դպրոցները ազգային կրթութեան
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 tWords
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
Lots of clever answers . . .
Now try with this text:
Քրիստոնէութեան սկիզբը Հայոց համար եղաւ նաեւ մտքի լուսաւորութեան
սկիզբնաւորութիւնը. Մեր մէջ առաջին դպրոցները Լուսաւորչի աշխատանքով
հաստատուեցան: Սակայն Սուրբ Գրիգորի հիմնած դպրոցները ազգային կրթութեան
համար չէին եւ չէին ալ կրնար ըլլալ, նախ
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
Ah yes... I should think that's the fastest
On Thursday, August 27, 2015, Colin Holgate colinholg...@gmail.com wrote:
Almost typed fast enough to post the same answer!
On Aug 27, 2015, at 10:47 AM, Malte Brill revolut...@derbrill.de
javascript:; wrote:
Hi David,
off the top of
11 matches
Mail list logo