CR> If you're doing this, won't you also want a function to get the
CR> file part too? If so, the 'of' seems better than 'to', it being
CR> usable for both...

CR> path-of file
CR> file-of file (or perhaps name-of)

CR> This would also be useful...

CR> ext-of file

Great point Carl. I use SUFFIX? quite a lot, which took getting used
to, as it is less programmerish than "extension". I would say type-of
might be a four-letter option to match the length of 'path and 'file,
but MIME types are probably a better match for that. Hmmm, I wonder if
there's a good way to name things that normalizes file! and url!
terminology (drive/path/name/extension, host/path/target)?   

-- Gregg

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to