bradxr
8/4/2018 - 1:51 PM

Find Character in String

let firstName = "Brad";
let lastName = "Singleton";

// find Nth character in string
let thirdCharOfLastName = lastName[2];

// find last character in string
let lastCharOfLastName = lastName[lastName.length - 1];