Skip to content

Challenge Use Bracket Notation To Find The First Character In A String

Quincy Larson edited this page Aug 20, 2016 · 1 revision

Challenge 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];
Clone this wiki locally