A example of split with custom delimiters and a loop