Yes, thats what I said. I am looking for an alternative to examine the line
break if it is LF, CR, LFCR or whatever
Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von dunbarx via use-livecode
Gesendet: Mittwoch, 18. April 2018 14:50
An: use-revolut...@lists.runrev.com
Cc: dunbarx <dunb...@aol.com>
Betreff: Re: How to get the line break char?

Hi.

You cannot ask for the "last" char of a line, because LC will give you the
last "non-control" char.

Say you have the below text in a field:

abc
def


So the last char of line 1 is "c". But the number of chars of that text
snippet is 7

But numToChar(char 4 of fld 1) = 10. That is a return char between the "c"
and the "d"

Craig



--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

_______________________________________________
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


_______________________________________________
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