Is is possible to use chunk expressions in iOS controls specifically multiline controls?
Lets say I want to get the 3rd word from fld "myFieldName", then I would normally use
put word 3 of fld "myFieldName" into tMyVariable
//do something with tMyVariable
Is it possible to refer to the native control like I would fld "myFieldName"?
using chunk expressions in native iOS "multiline" controls
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 219
- Joined: Mon Dec 05, 2011 5:35 pm
Re: using chunk expressions in native iOS "multiline" contro
Hi Coffe1633,
not directly!
You need to get the text of the native "text" control first and process that:
...
put mobileControlGet("name of your native multiline text control here! Or just its ID
", "text") into tInputText
put word 3 of tInputText into tMyVariable
...
Best
Klaus
not directly!

You need to get the text of the native "text" control first and process that:
...
put mobileControlGet("name of your native multiline text control here! Or just its ID

put word 3 of tInputText into tMyVariable
...
Best
Klaus