apidoc::length_exp (private)
apidoc::length_exp data
Defined in packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl
- Parameters:
- data (required)
- Returns:
- length of a generic subexpression.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {[string index $data 0] eq "\""} { return [length_string $data] } elseif {[string index $data 0] eq "\{"} { return [length_braces $data] } elseif {[string index $data 0] eq " "} { return [length_spaces $data] } if { [regexp -indices { } $data match] } { return [lindex $match 1] } return 0XQL Not present: Generic, PostgreSQL, Oracle