apidoc::length_var (private)

 apidoc::length_var data

Defined in packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl

Parameters:
data
Returns:
Length of a variable name.

Partial Call Graph (max 5 caller/called nodes):
%3 apidoc::tclcode_to_html apidoc::tclcode_to_html (public) apidoc::length_var apidoc::length_var apidoc::tclcode_to_html->apidoc::length_var

Testcases:
No testcase defined.
Source code:
        if {[regexp -indices {^\$\{[^\}]+\}} $data found]} {
            return [lindex $found 1]
        } elseif {[regexp -indices {^\$[A-Za-z0-9_:]+(\([\$A-Za-z0-9_\-/]+\))?} $data found]} {
            return [lindex $found 1]
        }
        return 0
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: