Hello Vim List, The function reltimestr() return a string which may have leading spaces. Is that a bug or a feature?
A workaround for this is: function Reltimestr(t) return matchstr(reltimestr(a:t),'[0-9.]\+') endfunction -- Best regards, Bill
Hello Vim List, The function reltimestr() return a string which may have leading spaces. Is that a bug or a feature?
A workaround for this is: function Reltimestr(t) return matchstr(reltimestr(a:t),'[0-9.]\+') endfunction -- Best regards, Bill