Mark Waddingham wrote:

> On 2017-06-23 03:19, Richard Gaskin via use-livecode wrote:
>> Seems murky.  I'd much rather at least have something like a byteLen
>> function, which returns the number of bytes for a given string.  With
>> that I can maintain byte offsets into a file with good performance
>> and no ambiguity.
>
> You do:
>
>    the number of bytes in textEncode(tString, <encoding>)

Ah, yes - of course. Thanks for the reminder. I keep forgetting about the byte chunk type.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.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

Reply via email to