Instance Property

rangeOfFragment

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

Declaration

var rangeOfFragment: NSRange { get }

See Also

Locating Components in the URL String Representation

var rangeOfHost: NSRange

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

var rangeOfPassword: NSRange

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

var rangeOfPath: NSRange

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

var rangeOfPort: NSRange

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

var rangeOfQuery: NSRange

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

var rangeOfScheme: NSRange

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

var rangeOfUser: NSRange

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software