Char At
Returns the character at the specified index
Description
Returns the character at the specified index.
Uses the chartAt
JavaScript function. See <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank">string object</a>
Inputs
- s (String): Initial string
- index (Number): Index of char
Outputs
- s.charAt(index) (String): The char at given position, undefined is no string found