read static method
Implementation
static void read({int indexPos = -1}) {
if (indexPos > 0) {
if (indexPos <= inputString.length - 1) {
look = inputString[indexPos];
}
} else if (index <= inputString.length - 1) {
look = inputString[index++];
}
}