title: Use Bracket Notation to Find the Nth-to-Last Character in a String
challengeType: 1
---
## Description
<sectionid='description'>
You can use the same principle we just used to retrieve the last character in a string to retrieve the Nth-to-last character.
For example, you can get the value of the third-to-last letter of the <code>var firstName = "Charles"</code> string by using <code>firstName[firstName.length - 3]</code>
</section>
## Instructions
<sectionid='instructions'>
Use <dfn>bracket notation</dfn> to find the second-to-last character in the <code>lastName</code> string.
<strong>Hint</strong><br>Try looking at the <code>thirdToLastLetterOfFirstName</code> variable declaration if you get stuck.
</section>
## Tests
<sectionid='tests'>
```yml
- text: <code>secondToLastLetterOfLastName</code> should be "c".