What will be the output?
echo substr("helloworld", -2);
echo ' , ';
echo substr("helloworld", 0, -1);
?>
Options: |
A) ld , helloworl B) he , helloarray C) ld , elloworld D) he , helloworl |
Answer : ld , helloworl |