Code: Select all
on mouseUp
get "a b c"
answer the number of words in it -- gives 3
set the itemdelimiter to space
answer the number of items in it gives 1
end mouseUp
Craig Newman
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on mouseUp
get "a b c"
answer the number of words in it -- gives 3
set the itemdelimiter to space
answer the number of items in it gives 1
end mouseUp
Code: Select all
on mouseUp
set the itemdelimiter to space
get "a b c"
answer the number of words in it & cr & the number of items in it
end mouseUp