|Welcome to the Monastery|
Re^2: Capture Lookaheadby Anonymous Monk
|on Jul 26, 2005 at 02:11 UTC||Need Help??|
An example would be:
String of: ABCDEFGHIJK
and, on one pass, I would like to capture the substrings (of some arbitrary length)
ABCDEF BCDEFG CDEFGH DEFGHI EFGHIJ FGHIJKFurther, on every pass, I want to decrease the length of the strings to be captured by 1 until the outer while loop bails out.
Thanks for the note on my error concerning pos $str.
Hope this makes the problem clearer.