Hi Devin & Mark, Thanks for this solution.
Does that statement create an implied loop? It’s great for a one liner though! Rick > On Jun 22, 2017, at 2:17 PM, Mark Talluto via use-livecode > <use-livecode@lists.runrev.com> wrote: > > 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 _______________________________________________ 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