DoubleApos (public, deprecated)

 DoubleApos string

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

When the value "O'Malley" is inserted int an SQL database, the single quote can cause troubles in SQL, one has to insert 'O''Malley' instead. Deprecated: in general, one should be using bind variables rather than calling DoubleApos.

Parameters:
string (required)
Returns:
string with single quotes converted to a pair of single quotes
See Also:

Testcases:
No testcase defined.
[ show source ]
Show another procedure: