CharAt
CharAt is a method name used to retrieve a character at a given position within a string. The exact behavior and return type vary by language, with Java and JavaScript providing the most common implementations.
In Java, charAt is a method of java.lang.String. It returns the character at the specified index as
In JavaScript, charAt(index) is a method on String objects that returns a string containing the character at
Common use cases include extracting specific characters from a string, validating input by position, or iterating