SyntaxFix
Write A Post
Hire A Developer
Questions
The problem might be your split() call. Try just split(" ") without the square brackets.
split()
split(" ")