
EN: rebol.com -
rebol.org -
rebol.net -
FR: Rebol Documentation Project -
forum RebelBB -
rebol-france.org -
forum codeur -
Découpe le chemin d’un fichier ou d’une URL. Retourne un bloc contenant le chemin et la cible.
split-path target
target - Le chemin à découper. (type: file! url!)
Retourne un bloc consistant en deux éléments, le chemin et le fichier. Peut être aussi utilisé sur des URL et des fichiers.
probe split-path %tests/math/add.r [%tests/math/ %add.r]
set [path file] split-path http://www.rebol.com/graphics/logo.gif print path http://www.rebol.com/graphics/
print file
logo.gif
clean-path - Nettoie les “.” et “..” dans un chemain, retourne le chemin nettoyé.
suffix? - Retourne le suffixe (ext) d’un fichier ou d’une url, autrement NONE.