call split on string before each

In 1.9.3 string is not enumerable