On Jun 22, 2017, at 11:03 AM, Rick Harrison via use-livecode <use-livecode@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/> _______________________________________________ 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