I wonder if the 202 value would disappear if you did this:

   put textDecode(the clipboarddata["text"], "utf8") into field 1

I don't know the answer, just putting it out there.

Phil Davis


On 1/12/18 4:48 PM, David Epstein via use-livecode wrote:
I use “the number of words in myString = 0” to test whether a line of text 
appears empty, since I want a line with only space characters to be understood 
as empty.
But a line of text I pasted from elsewhere contained an invisible character 
whose charToNum value is 202, and this was counted as a word by my script.
Is there a better way to test for a line of text that has no visible characters?
Many thanks.

David Epstein
_______________________________________________
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

--
Phil Davis

_______________________________________________
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

Reply via email to