I have the following string value;
String value = "col = at, ud = sam, col = me, od = tt, col = fg";
I need to return only col = at col = me, and col = fg;
I know I could use:
value.substring(0, value.indexOf(",")
to return col = at but I'm not sure how to get all three. Thanks for any help.