Agreed Peter. The beauty of LC is the ability to piece together things to 
create a more functional whole. At some point we are just asking the devs to do 
all our coding for us. 

Bob S


> On Nov 4, 2016, at 10:05 , Peter M.Brigham <pmb...@gmail.com> wrote:
> 
> On Nov 3, 2016, at 3:15 PM, Roger Eller <roger.e.el...@sealedair.com> wrote:
>> 
>> on mouseUp
>>  set the itemDelimiter to "^"
>>  put line 1 of fld "fPRE" into PREE1
>>  put item 1 of PREE1 into tJustTheItem
>>  set the itemDeliniter to TAB
>>  put tJustTheItem into item 1 of line 1 of fld "fTF"
>> end mouseUp
> 
> It’s pretty easy to do this kind of thing with some utility handlers. I have 
> a collection of them to enable me to process text in various ways, including:
> 
> getItem(pContainer, pIndex, pDelim)
> getNestedItem()
> getColumns(pData, pColNbrs, pDelim)
> deleteColumns(pData, pColNbrs, pDelim)
> getGridCell()
> replaceItem pList, pItemNbr, pNewItem, pDelim
> 
> etc. This allows text processing (which I do a lot of) completely within LC 
> and turns script-it-anew-each-time chunks of code into one-liner calls. Most 
> of these are available in the Master Library, I believe. Or email me if 
> you’re interested.
> 
> — Peter
> 
> Peter M. Brigham
> pmb...@gmail.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

Reply via email to