Skip to content

Challenge Use Bracket Notation to Find the First Character in a String

SaintPeter edited this page · 1 revision
Clone this wiki locally

Use Bracket Notation to Find the First Character in a String

Bracket notation is a way to get a character at a specific index within a string.

Computers don't start counting at 1 like humans do. They start at 0. firstLetterOfLastName = lastName[0];

Something went wrong with that request. Please try again.