Your current version of the acronym function doesn’t properly work for some names like “The Beauty and Joy of Computing”. You want to leave out the “The”, the “and”, and the “of”, but you will also lose the “J” in “Joy” because its length is less than four letters. Try to come up with ideas to get to this result: BJC
What have you tried that didn't work?
Tried using the identical block and tried using a For Each block
The question is asking you what criterion you can use instead of "at least four letters," such that "Beauty" "Joy" and "Computing" all make the cut. What property do those three words have in common, not shared by "the" "and" and "of"?
I remember that one library in BYOB has a block like this too. It simply rules out all the "of and the a an to..." words. so maybe:
script var result
for each item in split sentence by word {
if not [of, and, the, a, an, to, and other words like that] includes item
join result, first letter of item
}
report result
When you use FOR EACH, the variable ITEM contains the actual item, not the item's position in the list. So you can't use it as input to the DELETE command, which needs the position.