How to split multiple split character options

arrayVar = “firstname+surname”.Split({“+”,“-”},StringSplitOptions.None)
this will give you System.String[ ], so if you want lastName you can get it like this arrayVar(1)

this will work for you!
cheers
@Finnn

2 Likes