What to do when you try to split a string and get several fields at once but it does not work?

I've received the following two examples in a short intervallum asking Why does this code not work?.