Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 207 Bytes

Use Bracket Notation to Find the Nth-to-Last Character in a String

You can get the value of the third-to-last letter of the var firstName = "Charles" string by using firstName[firstName.length - 3].

Something went wrong with that request. Please try again.