# Code from Enthuware mocks exams #
outputs :
a aa aaa
because there is no "
x" in the
string so no match found and a single token is returned (original string)
but when i make changes to above code by putting a space before delimiter :
as i can see, here also the delimiter we specify should not match in the string as there is not any "
x" in the string, then why is output :
a
aa
aaa
In the same way, why
returns zero token
but
returns one token ( a empty string ) ?