dt_trim_leading_zeros (private, deprecated)

 dt_trim_leading_zeros string

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

Deprecated. Invoking this procedure generates a warning.

Parameters:
string
Returns:
a string w/ leading zeros trimmed. Used to get around Tcl interpreter problems w/ thinking leading zeros are octal. We could just use validate_integer, but it runs one extra regexp that we don't need to run.

See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_get_tcl_call_stack ad_get_tcl_call_stack (public) util::trim_leading_zeros util::trim_leading_zeros (public) dt_trim_leading_zeros dt_trim_leading_zeros dt_trim_leading_zeros->ad_get_tcl_call_stack dt_trim_leading_zeros->util::trim_leading_zeros

Testcases:
No testcase defined.
Source code:
ns_log Notice "Deprecated proc dt_trim_leading_zeros used:\n[ad_get_tcl_call_stack]"

    return [util::trim_leading_zeros $string]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-datetime/tcl/acs-datetime-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: