uriparse - Parse an uri and return its components.
uriparse("uri");
uriparse extract component from a uri.
The followings components are return if available:
The fonction return as associative array.
Note: In the followings examples, the _ between the { should be removed to make it work.
res={_{stringnify(sort:true,uriparse("http://www.sednove.com"))}}.] return res={"hostinfo":"www.sednove.com","hostname":"www.sednove.com","uri":"http://www.sednove.com","uri_port":0,"uri_scheme":"http"}.]);
{{ include("includes/strings.sn") }}
Written by Pierre Laplante, <laplante@sednove.com>
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit© 2024 extenso Inc. All rights reserved.