Module
Data.String.Unsafe
- Package
- purescript-strings
- Repository
- purescript/purescript-strings
Unsafe string and character functions.
#charCodeAt Source
charCodeAt :: Int -> String -> Int
Returns the numeric Unicode value of the character at the given index.
Unsafe: throws runtime exception if the index is out of bounds.