About 24,600 results
Open links in new tab
  1. String.prototype.charCodeAt () - JavaScript | MDN

    Jul 10, 2025 · The charCodeAt() method of String values returns an integer between 0 and 65535 representing the UTF-16 code unit at the given index. charCodeAt() always indexes the string as a …

  2. JavaScript String charCodeAt () Method - W3Schools

    The charCodeAt() method returns the Unicode of the character at a specified index (position) in a string. The index of the first character is 0, the second is 1, ....

  3. JavaScript String charCodeAt () Method - GeeksforGeeks

    Jan 16, 2026 · The JavaScript str.charCodeAt () method returns the Unicode code unit of the character at a given index in a string. Index starts from 0 to length - 1. Returns a number (Unicode value). …

  4. JavaScript: String charCodeAt () method - TechOnTheNet

    This JavaScript tutorial explains how to use the string method called charCodeAt () with syntax and examples. In JavaScript, charCodeAt () is a string method that is used to retrieve a Unicode value for …

  5. JavaScript String charCodeAt () (With Examples) - Programiz

    The charCodeAt() method always returns a value less than 65,536. If a Unicode point cannot be represented in a single UTF-16 code unit (values greater than 0xFFFF), then it returns the first part …

  6. JavaScript charCodeAt Method - Online Tutorials Library

    Learn how to use the charCodeAt method in JavaScript to get the Unicode value of a character at a specified index in a string.

  7. What is CharCodeAt in JavaScript and How Does It Work?

    What is charCodeAt in JavaScript? charCodeAt is a method of the String object in JavaScript that returns the Unicode value (character code) of the character at a specified index within a string.

  8. JavaScript | Strings | .charCodeAt () | Codecademy

    Jun 13, 2024 · In JavaScript, the .charCodeAt() method, used with strings, returns a positive integer representing the UTF-16 code unit of the character at a specified index in the string.

  9. JavaScript String charCodeAt () Method: Character Unicode

    Feb 1, 2025 · The charCodeAt() method in JavaScript is a powerful tool for working with string characters at a fundamental level. Instead of accessing the character itself, charCodeAt() returns the …

  10. String.prototype.charCodeAt () - MDN Web Docs

    The charCodeAt() method returns an integer between 0 and 65535 representing the UTF-16 code unit at the given index.