Math function II

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

```

how can i pass Math function II?
$name = “Marcus”;
$strlen = strlen(“Marcus”);
$myname = substr($name,0,6);
print $myname;
print rand(strpos(“Marcus”,“M”),strops(“Marcus”,“s”));

<do not remove the three backticks above>

Is this a typing error?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.