nstcl  >  Documentation  >  nstcl-database  >  DoubleApos

Tcl Powered!

DoubleApos

NAME

DoubleApos — Double-up any single quotes in a string

SYNOPSIS

package require nstcl-database ?1.0?
package require nstcl ?1.0?

::nstcl::DoubleApos string

DESCRIPTION

Doubles-up any single quotes within a string so that '$string' can be used safely in a database query.

KEYWORDS

database, nstcl