Hello Vim List, Example 1:
:echo "<" . matchstr(" 1.2345 ","[0-9.]") . ">"<CR>
<1>
Example 2:
:echo "<" . matchstr(" 1.2345 ","[0-9.]*") . ">"<CR>
<>
Why isn't the second exampe returning <1.2345>?
Is there a better way of stripping spaces off a string?
--
Best regards,
Bill
