Not really a big overhead,
 this piece of code wld do that...

 public String padApos(String toPad)
        {
         StringTokenizer tokenizer=new StringTokenizer(toPad,"'");
         String retVal=new String("");
         while(tokenizer.hasMoreTokens())
         {
          retVal+=tokenizer.nextToken()+"''";
         }
         retVal=retVal.substring(0,retVal.length()-2);
         return retVal;
        }

Reply via email to