Find bag. Don't fixed. Shall fix.
Bag not fixed. Interim version
Bag fixed and tested by two different sample strings with two different separators
Fixed merge conflict
Deleted word "static" from variable beginStr