Not printing the expected result;
<?php
mb_internal_encoding( 'UTF-8');
$term="لاہوری";
$sel="لا";
$sterm=mb_strrichr($term, $sel, true, 'utf-8');
$prefix=mb_strrichr($term, $sel, false, 'utf-8');
echo $sterm;
echo "<br>";
echo $prefix;
?>
Actual Result: لاہوری,
Expected Result: ہوری
Expected Result1: لا