Created
November 21, 2015 09:58
-
-
Save e-vural/c8c3c3f4e9d0a34a2841 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
var id = "ctl03_Tabs1"; | |
var lastFive = id.substr(id.length - 5); // => "Tabs1" | |
var lastChar = id.substr(id.length - 1); // => "1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment