I want to convert a sentence into array of words. I want to convert them into a stream of tokens and assign a variable name to each token.
Given string I am a girl
and expected output
- Token[0] = I
- Token[1] = am
- Token[2] = a
- Token[3] = girl
Please Help