fork download
  1. $DNA="CTGACTG";
  2. $d="TG";
  3. $n=index($DNA,$d,0);
  4. $n+=2;
  5. $new=substr($DNA,$n,2);
  6. print"$new";
Success #stdin #stdout 0s 6000KB
stdin
Standard input is empty
stdout
AC