Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
What you're doing here is deleting lines while NP6% is still found in your document. Since you're deleting lines one by one it's no wonder all the lines up until the line with %NP6% are deleted. Once %NP6% is deleted the deleting will stop.Instead you should try looping through the Sentences...
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.