doc_adp_quote_tcl_string (private)
doc_adp_quote_tcl_string string
Defined in packages/acs-tcl/tcl/adp-parser-procs.tcl
Turns literal text into a string which can be used as a Tcl argument. Quotes special Tcl characters and newlines.
- Parameters:
- string (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: regsub -all -- {([\{\}\[\]\$\"\\])} $string {\\\1} string regsub -all -- {\n} $string {\\n} string return "\"$string\""XQL Not present: Generic, PostgreSQL, Oracle