slice
in place of split
in my code challenge, and wrote the algorithm mostly imperatively, whereas it would have been cleaner and more readable if I wrote it with declarative syntax. Once I got home I did a couple on Codewars and then were much better, especially with the use of chaining.