Contact: aviboots(AT)netvision.net.il
39,907 questions
51,839 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 */