Contents

rangeOfPath

Returns the character range of the path in the string returned by the string property.

Declaration

var rangeOfPath: Range<String.Index>? { get }

Discussion

If the component does not exist, nil is returned.

See Also

Locating components in the URL string representation