What are you splitting and trying to cast to Int?
Anyway, I strongly suggest you walk away from String for this.