Little help here, i use text items quite a fair bit, however, i have a slight problem. If i have a set amount of text items a variable will contain, for example, 3, this would work fine
However, if i do not know exactly how many variables, eg just 2 text items are in the variable, it throws an error. What i use now to solve that is
Is there a more efficient way to do it?
Code:
set {var1,var2,var3} to text items of variable
Code:
try
set var1 to text item 1 of variable
on error
set var1 to ""
end