PHP :
str_replace('?', '', $string)
Hey there! Awesome to see some PHP users. PHP IS NOT DEAD! Haha.
But you are halfway done buddy!
Today's challenge requires you to write a function which removes all question marks from a given string.
okay okay let's do a wrapper function then :D
function myOwnStrReplaceBecauseIDontLikeSnakeCase($string) { return str_replace('?', '', $string); }
That function name tho. haha!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
PHP :
Hey there! Awesome to see some PHP users. PHP IS NOT DEAD! Haha.
But you are halfway done buddy!
okay okay let's do a wrapper function then :D
That function name tho. haha!