Resolve the issue "has no method split()"

Added the toString method, because the input parameter was returning a object.