Split string by character

Welcome to the forum

If you are using Strings rather than strings then a combination of the String functions indexOf() and substring() will allow you to do what you are asking