Splitting the strings in words