functionremoveFirstAndLastLetter($text){returnsubstr($text,1,-1);}echoremoveFirstAndLastLetter("Oh no, I lost two letters");// Outputs : h no, I lost two letter
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: