A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/String/charCodeAt below:

charCodeAt ยท WebPlatform Docs

charCodeAt Summary

Returns the Unicode value of the character at the specified location.

Syntax
strObj. charCodeAt( index )
strObj
Required. Any String object or string literal.
index
Required. The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.
Examples

The following example illustrates the use of the charCodeAt method.

var str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
 document.write(str.charCodeAt(str.length - 1));

 
See also Other articles Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4