string.split(foo, bar) must be foo.split(bar) instead of bar.split(foo).
Attach a file by drag & drop or click to upload