This looks like
JSON
data try the below instead of comma separated string.
var data = '{"cancellationCharge":"35.00","refundAmount":"315.00","tin":"*****"}';
var json = JSON.parse(data);
var cancellationCharge = json.cancellationCharge;
var refundAmount = json.refundAmount;
var tin = json.tin;
by using Comma separated:
var data = '{"cancellationCharge":"35.00","refundAmount":"315.00","tin":"*****"}';
var items = data.split(',');
var cancellationCharge = items[0].split(':')[1];
var refundAmount = items[1].split(':')[1];
var tin = items[2].split(':')[1];