411 REFERENCE · Wikibooks
Rebol Programming/link-relative-path
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
LINK-RELATIVE-PATH file
DESCRIPTION:
Remove link-root from a file path
LINK-RELATIVE-PATH is a function value.
ARGUMENTS:
file -- (Type: any)
SOURCE CODE
link-relative-path: func ["Remove link-root from a file path" file /local f][
either f: find/match file link-root [copy f] [file]
]