How to find true words that start with a capital letter?

Keith Clarke keith.clarke at me.com
Fri Oct 26 07:21:33 EDT 2018


Folks,
What is the most efficient way to search for trueWords starting with a capital letter?

Is there anything more direct than something like...

repeat for each true word tWord in tContainer

	If char 1 of tWord is among the codePoints of tUnicodeLetters // a variable containing A-Z  
	then put tWord into tCapitalised 

end repeat

Thanks & regards,
Keith



More information about the use-livecode mailing list