Function | Package: net.uri | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## string-to-uri

Arguments: string

This function and the associated generic function uri-to-string are inverses. string-to-uri parses string as a URI and returns the URI object or, if string cannot be parsed, signals an error. The representation of the query field of the URI in the string is not decoded. (How to properly decode a query is outside the bounds of RFC 3986.)

The operator parse-uri also takes a string and returns a URI and, with the exceptions listed in the description of the function, does decode the query field. Its inverse is render-uri. Warning: string-to-uri and uri-to-string are paired as are parse-uri and render-uri. Users ahould never apply an operator from one pair to the return value of an operator from the other pair. The consequences of doing so are undefined.

See also uri.htm for general information on Universal and Internationalized Resource Indicator support in Allegro CL.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version