Contact: aviboots(AT)netvision.net.il
41,458 questions
54,005 answers
573 users
$str = "hasgdhsj*"; $str = substr_replace($str, "", -1); echo $str; /* run: hasgdhsj */
$str = "hasgdhsj*"; $str = substr($str, 0, -1); echo $str; /* run: hasgdhsj */
$str = "hasgdhsj*"; $str = rtrim($str, '*'); echo $str; /* run: hasgdhsj */