First 1000 characters without loop?

Devin Asay devin_asay at byu.edu
Thu Jun 22 15:36:02 EDT 2017


On Jun 22, 2017, at 1:05 PM, Rick Harrison via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

Hi Devin & Mark,

Thanks for this solution.

Does that statement create an implied loop?



I don’t think so. It’s similar to substring functions in other languages. As Mike said, string chunk expressions are one of the best things about LiveCode.

You can do things like:

  put char 5 to 25 of line 4 of tVar into tVar2

I discuss it in my lesson on working with text in LiveCode:

http://livecode.byu.edu/textfind/TextandFind.php

Devin

Devin Asay
Director
Office of Digital Humanities
Brigham Young University



More information about the use-livecode mailing list