> I don't know of anything built into the standard libraries... but, > if open source is acceptable to you, the Jakarta Commons-Lang > component has a StringEscapeUtils class that does exactly what > you're asking for.
+1 we use it and love it - <http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/StringEscapeUtils.html#escapeSql(java.lang.String)> I hope the surrounding <> keeps the url together in your mail client :) -- James Manning <http://www.sublogic.com/james/> GPG Key fingerprint = B913 2FBD 14A9 CE18 B2B7 9C8E A0BF B026 EEBB F6E4 _______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org
