Updated 2012-09-27 14:24:15 by LkpPo

namespace tail string

Returns the simple name at the end of a qualified string. Qualifiers are namespace names separated by ::s. For the string ::foo::bar::x, this command returns x, and for :: it returns an empty string. This command is the complement of the namespace qualifiers command. It does not check whether the namespace names are, in fact, the names of currently defined namespaces.

See also:

Category Command[Category Tcl syntax help]