jdk1.4及以上版本  
  String   s=”test   String=?   and   test   String   =?   and   test   String   =?”;  
  s=s.replaceAll(“[?]“,”!”);