Here's what the problem seems to be: when I tested it, it was with a short string and a window large enough that the string ended well before the end of the window. IE, a 20 word string with a 100 word window.
Argh. I'm not sure where to go from here. Perhaps coffee is a good idea.
In reply to Re: Re: Slicing a string on words
by dstar
in thread Slicing a string on words
by dstar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |