Contents

rangeOfFragment

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

Declaration

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

Discussion

If the component does not exist, nil is returned.

See Also

Locating components in the URL string representation