Page 1 of 1
select text after string(solved)
Posted: Tue Dec 10, 2013 7:03 pm
by vedus
i have a line inside of field that i get from xml file.
the line is
Code: Select all
(john,maria,artemis)\ and some other information here
is possible the select the text after the slash and cut it and paste it in other fld?
thx
Re: select text after
Posted: Tue Dec 10, 2013 7:12 pm
by Dixie
Vedus...
Code: Select all
on mouseUp
put "(john,maria,artemis)\ and some other information here" into temp
set itemDel to "\"
put item 2 of temp
end mouseUp
The above will put 'and some other information here' into the msg box
Re: select text after
Posted: Tue Dec 10, 2013 8:14 pm
by vedus
thank you dixie
here is my solution with unicode..
Code: Select all
-->unicode clean
put unidecode(the unicodetext of fld "paragwga","utf8") into temp
set itemdel to "-"
put item 2 of temp into tTemp
set the unicodetext of fld "f100" to uniencode(tTemp,"utf8")