Well that chopping up doesn't have to take place between fields: it could, say, start with the string in a string-variable, and the chopped-up bits end up in a 2-dimensional array.

Richmond.

On 27/4/2018 5:47 pm, Bob Sneidar via use-livecode wrote:
On a mobile device??

Bob S


On Apr 27, 2018, at 02:09 , Richmond via use-livecode 
<use-livecode@lists.runrev.com> wrote:

I've just set up a stack containing 2 fields; one called "fff" containing your

original string, another called "fCHOPPED" that is a scrolling list field.

I have a button containing this script:

on mouseUp
    put fld "fff" into FFF
    set the itemDelimiter to ","
    put 1 into KOUNT
    repeat until item KOUNT of FFF is empty
       put item KOUNT of FFF into line KOUNT of fld "fCHOPPED"
       add 1 to KOUNT
    end repeat
end mouseUp

which puts the string into the scrolling list field like this:

/Dialyse rénale
  insuffisance rénale
  maladie rénaleDID
  diabète de type 1//
//diabète insulino dépendant/

Richmond.


On 27.04.2018 04:48, Heriberto Torrado via use-livecode wrote:
/Dialyse rénale, insuffisance rénale, maladie rénaleDID, diabète de type 
1//,//diabète insulino dépendant/

_______________________________________________
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

_______________________________________________
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