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 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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode