charAt function

String charAt(
  1. String str,
  2. int atPos
)

Strings

Implementation

String charAt(String str, int atPos) => str.substring(atPos, atPos + 1);