namespace tail

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: