Split the string before slicing it
Compile