On 4/20/21 6:00 AM, Niggemann, Bernd via use-livecode wrote:
Mark Wieder wrote
You can't just say
put truewordOffset("font", tText) into tOffset
because it might encounter "fontTable" first.
If I set wholematches to true it works for me
Unfortunately not here. Even with wholematches true
truewordOffset("BT", tText)
also catches instances of
"btn"
as well as "bt"
I have to check the result:
put truewordOffset(tValue, tText) into tPos
if trueword tPos of pText is tValue then
# we found a trueword
end if
--
Mark Wieder
ahsoftw...@gmail.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode