I have a line called persons.name
I want to replace the DOT . on /*/ ie my output will be persons/*/name
I tried this code:
String a="\\*\\"; str=xpath.replaceAll("\\.", a);
I get a StringIndexOutOfBoundsException exception.
How to replace a point?
java str-replace
soumitra chatterjee Sep 11 '11 at 19:17 2011-09-11 19:17
source share