Version 2 of namespace qualifiers

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

namespace qualifiers string

Returns any leading namespace qualifiers for string. Qualifiers are namespace names separated by ::s. For the string ::foo::bar::x, this command returns ::foo::bar, and for :: it returns an empty string. This command is the complement of the namespace tail command. Note that it does not check whether the namespace names are, in fact, the names of currently defined namespaces.


See also: