Skip to content

Instantly share code, notes, and snippets.

@vssun
Created August 19, 2011 00:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vssun/1155732 to your computer and use it in GitHub Desktop.
Save vssun/1155732 to your computer and use it in GitHub Desktop.
Template for getting n characters from right ((Called by template:Of, template:Oflevel2))
<includeonly>{{#sub:{{{1}}}|{{#expr:{{#Len:{{{1}}}}}-{{{2}}}}}|{{{2}}}}}</includeonly><noinclude>നൽകുന്ന വാചകത്തിന്റെ അവസാനത്തെ നിശ്ചിതയെണ്ണം അക്ഷരങ്ങൾ/ചിഹ്നങ്ങൾ തിരിച്ചുനൽകുന്നു.
#ഒന്നാമത്തെ പരാമീറ്റർ: വാചകം
#രണ്ടാമത്തെ പരാമീറ്റർ: എത്ര അക്ഷരം/ചിഹ്നം തിരികെ വേണം?
</noinclude>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment