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

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.