Write a PHP script to get the last three characters of a string
- برمجة بي اتش بي
- 2021-09-10
- mhanasmh00489829403
الأجوبة
<?php
$str1 = 'rayy@example.com';
echo substr($str1, -3)."\n";
?>
Sample Output:
com
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال