* replaceAll with special words
======================
public class MyTest {
 public static void main(String args[]) {
  
  String st = "\\";
  
  st = st.replaceAll("\\\\","\\\\\\\\"); 
  
  System.out.println(st);
 }
}
======================================
Thursday, 3 January 2008
Subscribe to:
Post Comments (Atom)
 
 
No comments:
Post a Comment