Split a variable