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
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
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
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