Issues with using delimiter

So basically, I’m trying to gather variables from keyboard input and split up the variables using a comma. Though it doesn’t seem to be working. It is probably something simple I have overlooked but …