Tuesday, August 7, 2012

Convert string variable to capital letter in VimL

Hello.
I have a string variable and I want to capitalized it letters.
I also need to caoitalize only the first letter, so if I have:
let myStr="example"
Convert myStr word to: Example

I have been searhing in the docs and google but no luck about how to do this in a VimL scripts.

Thanks.

--
Un saludo
Best Regards
Pablo Giménez

--
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

No comments: