Created
June 1, 2011 15:11
-
-
Save yuya-matsushima/1002499 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Cucfirst(str) | |
| let fname=strpart(a:str,0,strlen(a:str)-4) | |
| let cap=substitute(l:fname, '\w\+', '\u\0', "") | |
| return l:cap | |
| endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment