Hi Richard, No, there is no such function as the byte length is a property of text which has been encoded with a specific encoding, not text in general.
the number of bytes in textEncode(tText, kEncoding) Should give you what you need. Warmest Regards, Mark. Sent from my iPhone > On 9 Mar 2017, at 02:37, Richard Gaskin via use-livecode > <use-livecode@lists.runrev.com> wrote: > > the len() function returns a character count, but with Unicode this may be > very different than the byte size. > > Do we have a size() or byteLen() function? > > -- > 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 _______________________________________________ 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