I have a text file that is written like this.
200;space,space,space,space...
|space,space,space,space...
120;space,space,space,space...
|space,space,space,space...
420;space,space,space,space...
|space,space,space,space...
try with trim
trim(src)
Return src with all whitespace (spaces, tabs etc.) removed from the beginning and end of the string.
set Array to...trim(tokenat(etc...))