Rebol Programming/suffix?
USAGE:
editSUFFIX? path
DESCRIPTION:
editReturn the suffix (ext) of a filename or url, else NONE.
SUFFIX? is a function value.
ARGUMENTS
edit- path -- (Type: any-string)
SOURCE CODE
editsuffix?: func [ {Return the suffix (ext) of a filename or url, else NONE.} path [any-string!] ][ if all [ path: find/last path #"." not find path #"/" ] [to-file path] ]