Hi,

I know expand(%:p:h) to expand path but how to get the same begin of
path from a path variable.

let mypath = "c:\\foo/bar/file.txt"

Can I avoid to use substitute command and use expand like function ?

Thank you

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to