I am trying to remove elements from one CSV string with other CSV string :
Example:
String s1= "a,b,c,d,e,f,g,h,w,p,4,5,12,u,v"; /* Base String */
String s2="e,5,v";` /*(input string) This elements has to remove from above string S1 */
Expected Output String s1: "a,b,c,d,f,g,h,w,p,4,12,u";
I have Tried: For loop and remove elements and append back String.
I can to this by no. of ways, but i want to know if there is any library/method/utility available ?