How does one split a string into more than only 2 values

Thanks for the recommendation and the time for replying me. However, I found the solution needed to solve my problem in a different site. You can check the solution here. Again, thank you very much. I hope it helps other people too!