I am trying to map two StringBuilders:
string builder1 ="abc1,abc2,abc3,abc4,abc2"
string builder2="100,30,15,102,30"
both StringBuilders count will be the same and already mapped. But I am searching for a particular number 30
and name like abc2
i.e find(30,abc2)
and remove it
so I need to keep track of the comma or could anyone suggest me best practice to remove the string I don't want in the appropriate position.