TypeScript String charAt()
Syntax & Examples


Syntax of String.charAt()

The syntax of String.charAt() method is:

charAt(pos: number): string

This charAt() method of String returns the character at the specified index.