Hi, I've got a string looks like this
String a is "ACdA(a = %b, ccc= 2r2)"
String b is "\ewfsd\ss.jpg"
Expected outputs:
ACdA(a = %b, ccc= 2r2, b_holder = \ewfsd\ss.jpg)
It adds the string b to the end of string a, that's it! But be careful of the ")"
"b_holder " is hard coded string, it's absolutly same in all cases, won't be changed.
Thanks everyone!
Update: If regular expression is not a best choice here, please suggest a best way to do.
Thanks everyone!