Hi TheLonelyStar!
On Do, 09 Jul 2009, TheLonelyStar wrote:
> It just does not work, if I do
>
> let x=getline('.')
> let y='\%>' . col('.') . 'v\s\+$'
> let ws=match(x, y)
> echo ws
>
Let's take this line (| denotes the place where the cursor is, _
stands for Spaces):
Here is some whitespace|_________
If I do
:echo ws=match(x,y) it returns 24.
regards,
Christian
--
:wq!
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---