Skip to content

Instantly share code, notes, and snippets.

@ScarletPonytail
Last active October 1, 2018 13:15
Show Gist options
  • Save ScarletPonytail/7e6eaab98168548563b1a90a17727944 to your computer and use it in GitHub Desktop.
Save ScarletPonytail/7e6eaab98168548563b1a90a17727944 to your computer and use it in GitHub Desktop.
jQuery - Remove the first character
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