Last active
October 1, 2018 13:15
-
-
Save ScarletPonytail/7e6eaab98168548563b1a90a17727944 to your computer and use it in GitHub Desktop.
jQuery - Remove the first character
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
var thing = 'Thing'; | |
var itemId = thing.substring(1, thing.length); | |
// Output would be "hing". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment