Contents

strippingNamespacePrefix(_:)

Returns this token with the given namespace prefix removed.

Declaration

func strippingNamespacePrefix(_ prefix: USDToken) -> USDToken?

Parameters

  • prefix:

    The namespace prefix to strip.

Return Value

The token with prefix removed, or nil if the prefix does not match.

Discussion

Matching is done at namespace boundaries.

See Also

Stripping namespaces