$str1=<stdin>; $str2="aa"; $x=index($str1,$str2,0); Until($i > $x) { print "$str1"; }
aasggfh
Standard output is empty
syntax error at prog.pl line 9, near ") {" Execution of prog.pl aborted due to compilation errors.
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!