First 1000 characters without loop?
Mark Talluto
mark at canelasoftware.com
Thu Jun 22 14:17:40 EDT 2017
On Jun 22, 2017, at 11:03 AM, Rick Harrison via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> I have a string variable which contains over 2500 characters.
> I only want to grab the first 1000 characters of that string.
> Rather than looping 1000 times to grab each character
> is there a way to just grab the first 1000 efficiently in
> one big chunk?
>
> Thanks,
>
> Rick
Hi Rick,
put char 1 to 1000 of tOriginalVar into tNewVar
Best regards,
Mark Talluto
livecloud.io <http://livecloud.io/>
nursenotes.net <http://nursenotes.net/>
canelasoftware.com <http://www.canelasoftware.com/>
More information about the use-livecode
mailing list