substr($string, 3) : Sub string « String « PHP






substr($string, 3)

<?
$alphabet_test = "abcdefghijklmnop";

print("3: " . substr($alphabet_test, 3));
?>

           
       








Related examples in the same category

1.Substring replace
2.Substring count
3.substr($String, -3)
4.substr($String, 3, 5)
5.substr($String, -3, 5) (2)
6.substr($String, -3, -5) (3)
7.substr($String, 3, -5) (4)
8.Extracting Part of a String with substr()