nao consigo substituir a string abaixo...
como fazer isso funcionar?
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Nfe200;
/**
*
* @author Jonas
*/
public class TesteString {
public static void main(String[] args) {
// String s1 = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>";
String s2="<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
System.out.println(s2.replaceAll(s2, "qualquer coisa"));
}
}