PHP - String Functions
Which of the following is the correct syntax to remove characters "abc" from the right end of a string
$str in PHP?$str in PHP?rtrim() takes a string and an optional character mask to remove from the right end.rtrim($str, "abc").15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions