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 ";
  7.  
Success #stdin #stdout 0s 18256KB
stdin
Standard input is empty
stdout
AC