< Rebol Programming

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]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.