$_nth$2 method

dynamic $_nth$2(
  1. dynamic n$3,
  2. dynamic not_found$1
)
override

Implementation

dc.dynamic $_nth$2(dc.dynamic n$3, dc.dynamic not_found$1, ){
final dc.int n$4=(n$3 as dc.int);
if((n$4<0)){
return not_found$1;
}
final dc.int i$2=(n$4+i);
if((i$2<string.length)){
return (string[i$2]);
}
return not_found$1;
}