string_at(s, n)
Return the nth element of string s, where 0 <= n < string_length(s).
n
s
0 <= n < string_length(s)
Raise an error if s is not a string or if n is not a valid index.
let s = "hello" string_at(s, 1) // \e s[1] // \e
Core Module Index | Contents