Skip to content

charAt

charAt(string, index) → string · String

Get the character at a specific index (0-based).

  • string (required): the source string

  • index (required): position (0-based)

utlx
charAt("Hello", 0)    // "H"
charAt("Hello", 4)    // "o"

Released under AGPL-3.0.