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

2018-10-28 Thread Keith Clarke via use-livecode
Thanks Alex. The text could be Unicode or ASCII, depending on the source, so I’m assuming the former to be on the safe side. I did think of checking the character number but whilst the ASCII range is neat, identification of Unicode capital letter codes seem to be complex. Perhaps I’ll start wi

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

2018-10-26 Thread Alex Tweedly via use-livecode
You say "... containing A-Z" Are you really using unicode ? Or is it really just ASCII ? if so, you could do    put char 1 of tWord into temp    if 65 <= temp AND temp <= 90 then ... Alex. On 26/10/2018 12:21, Keith Clarke via use-livecode wrote: Folks, What is the most efficient way to se

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

2018-10-26 Thread panagiotis merakos via use-livecode
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@lists.runrev.com> wrote: > Folks, > What is the mo

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

2018-10-26 Thread Keith Clarke via use-livecode
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