How to find true words that start with a capital letter?
panagiotis merakos
merakosp at gmail.com
Fri Oct 26 07:59:40 EDT 2018
Hello Keith,
Does this work?
set the casesensitive to true
if char 1 of tWord is toUpper(char 1 of tWord) then
answer "Found Uppercase"
end if
Best,
Panos
--
On Fri, Oct 26, 2018 at 2:22 PM Keith Clarke via use-livecode <
use-livecode at lists.runrev.com> wrote:
> 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
> _______________________________________________
> 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
>
More information about the use-livecode
mailing list