Fix split delimiter

I added tests and fixed extraction on split delimiter.
@sferik Please check my tests.