[Solved] How do I split a string with ‘$’ delimiter? [closed]


Split method returns a string array, if you need both elements of this array, Try:

string s = "FINAL PAYMENT $25";
string[] resArray =  s.Split('$');
var FPayment = resArray[0];
var second25= resArray[1];

5

solved How do I split a string with ‘$’ delimiter? [closed]