Thursday, 3 January 2008

replaceAll with special words

* replaceAll with special words

======================
public class MyTest {

public static void main(String args[]) {

String st = "\\";

st = st.replaceAll("\\\\","\\\\\\\\");

System.out.println(st);
}
}
======================================

No comments: