Hi I have a long list with lines that start with a number in random order followed by tekst. Something like this:
109 AAA 23 blabla 1 xyzxyz 45 BBB What I want is that all number get one or more 0 needed then the largest (in character size) number So in the list above the 'largest' number is 3 characters. 109 AAA 023 blabla 001 xyzxyz 045 BBB But if there was a bigger number for example 12345 in the list (not shown now in this example) ) the above list should become 00109 AAA 00023 blabla 00001 xyzxyz 00045 BBB How to do that? Rgds, Jeri --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
