db.urlpath: Retrieve elements of a URL path

db.urlpathR Documentation

Retrieve elements of a URL path

Description

URL paths will all have the format /custom/<name>/<head>/<tail> Note that tail may be multipart. That is, in the URL /custom/foo/abc/def/hij the <name> = foo, <head> = abc and <tail> = def/hij.

Usage

db.urlpath(path, what)

Arguments

path

A URL path.

what

The part of the path to retrieve ('name', 'head', 'tail', or 'info').

Value

A character string.


blueraleigh/db documentation built on Feb. 25, 2024, 9:13 a.m.