php hapus karakter terakhir dalam string
//Remove the last character using substr
$string = substr($string, 0, -1);
Kasmin Nicko
//Remove the last character using substr
$string = substr($string, 0, -1);
$hell = substr('hello', 0, -1);
$string = rtrim($string_to_remove);
$newarraynama = rtrim($arraynama, ", ");