Yes if the first charactors in your input where a single char followed by a deliminator.
The code you posted above only checks the first token in each line.