I have a problem with replaceAll. I like to replace for instance a record with something else.
My variable looks like:
String myReplacement = "mailto:test@test.address.com?cc=test.ccuser@somebody.com"
As soon I try to replace this 'myReplacement' something else, doesn't work, but also I don't get back any error message.
I try like : String myResult = myResult.replaceAll(myReplacement, "test");
Interesting part if I remove the '?' from my variable then the replace is works.
Is anybody has the same problem or met with this problem already?
My variable looks like:
String myReplacement = "mailto:test@test.address.com?cc=test.ccuser@somebody.com"
As soon I try to replace this 'myReplacement' something else, doesn't work, but also I don't get back any error message.
I try like : String myResult = myResult.replaceAll(myReplacement, "test");
Interesting part if I remove the '?' from my variable then the replace is works.
Is anybody has the same problem or met with this problem already?