splitScopes

Split a space-delimited scope string into individual scopes, dropping empty elements so an empty or all-whitespace claim yields no scopes (an empty string would otherwise split into a spurious single "" scope). Shared with introspection's scope parsing (RFC 7662 §2.2).

package @safe @safe
string[]
splitScopes
(
string s
)