Last active
October 15, 2016 13:58
-
-
Save koron/2c00302ae7d47853f5f9815f469752a8 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
let s='中華料理画像うpよろしく' | |
echom s | |
let a=split(s,'\zs') | |
let t=repeat('@',len(a)-2) | |
for b in map(a[1:-2],'v:val.t.a[-2-v:key]') | |
echom b | |
endfo | |
echom join(reverse(a),'') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment