First 1000 characters without loop?

Devin Asay devin_asay at byu.edu
Thu Jun 22 14:14:33 EDT 2017


On Jun 22, 2017, at 12:03 PM, 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



Rick,

Does this do what you want?

  put char 1 to 1000 of tVar into tVar2

Devin

Devin Asay
Director
Office of Digital Humanities
Brigham Young University





More information about the use-livecode mailing list