Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 757

Getting Started with LiveCode - Complete Beginners • Re: Get the last two columns

$
0
0
HI,

This is a way to do it, but there is a lot of ways to do the same

CODE:

   put fld "fText" into tText   repeat with i = 1 to the num of lines of tText      put item -2 to -1 of line i of tText & cr after tRes   end repeat   delete char -1 of tRes   put tRes
Best regards
Jean-Marc

Statistics: Posted by jmburnod — Sun Feb 23, 2025 10:45 am



Viewing all articles
Browse latest Browse all 757

Trending Articles