Reputation: 177
As an example, I have 3 fields within my LiveCode application. Field "firstName", field "lastName" and field "both".
I have previously used the following
put field "firstName" into field "both"
put field "lastName" after field "both"
and this does join them, but with no space in-between the names.
Is there alternative methods to do this and include a space between the names?
Upvotes: 0
Views: 135
Reputation: 116
Just use a && to add a space between the 2 values.
put field "firstName" && field "lastName" into field "both"
Btw. your sample code will not work with "and" anyway. You would get the value "false" in the field "both".
Upvotes: 2