+$1 should be +1. Other than that, the code should work.
If it still doesn't, the error is probably in the preceding part that you have not shown (where you initialize the variables).
In reply to Re: extract words from specific location
by smls
in thread extract words from specific location
by torres09
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |