splitOn and replaceOn for List