I’m trying to create a variable to use in an if…then statement. 1. Two words are entered (done) 2. words are set to variable b (done) 3. get word 2 or first six characters of word 2 4. add first and last character of word 1 5. set to new variable
I can extract all of the data but I’m at a loss on how to combine them into one variable to use.
Thanks
I’m not too sure that I’ve correctly understood what you ask, but if I have then this should do it…
set b to "FIRSTWORD 2ndOne"
set bingo to b's word 2 & b's word 1's item 1 & b's word 1's item -1 --> "2ndOneFD"
Andreas
Steve - If you have recently died then please do not bother to reply. Otherwise a response would be appreciated. Was my answer of any use? Do you stil have a problem?
Andreas