Hi, I'd like to do the following - I have a set of lines like this -
char str1 = "hello"; char str2 = "printer"; and I'd like to generate - char str1 = "hello"; char str1_arr[5]; char str2 = "printer"; char str2_arr[7]; Ordinarily, I'd just go ahead and record a macro and playback ... but the problem is with the numbers 5 and 7 above - those depend on the length of the string. Is there a way, I can do a viusal highlight of the string in quotes and get its length? regards, Kashyap -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
