Contents

rangeOfQuery

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

Declaration

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

Discussion

If the component does not exist, nil is returned.

See Also

Locating components in the URL string representation