I know how to use switch format but the problem is when I need to call the data stored inside the string, every time I call them they are always null