`split()` is deprecated. In case you mean `explode()`: Forgot to change it after removing chars as index.