I have a string which I want to split using a certain set of delimiters, but I would like to split it into 2 strings exactly. This means that if the string is “ax,yt,zr” I want to split it into “ax” and “yt,zr”. What is the cleanest way to do this?
Share
You can use substring.