It works, but the system does not accept the answer. Please tell me why?


#1

print $name = "AlexN";
print "<br>";
print "Количество символов в имени " . strlen($name) . "<br>";
print "Выбранное число " . $rand_n = rand(1,(strlen($name))) . "<br>";
$rez = substr($name, ($rand_n-1), 1);       
print $rez;

#2

Could you post a link to the exercise please?