Search
We can use the charAt method to get the character at a particular index in the string.
charAt
In the example given below, we are accessing the second character of the string.