I'm trying to parse a String like A|B|C|D||||| as follows
My expectation is as follows
Token = A
Token = B
Token = C
Token = D
But I get only first 4, obviously the last 2 are not considered or ignored... I knew that my regular expression is wrong, but could not figure out the solution on how to have the emply strings surrounded by "|" is also retrieved..
Can some body help me in this ?
author and iconoclast