Answers for "extract text before last space php"

PHP
0

extract text before last space php

$string = "hello world again";
 echo substr($string, 0, strripos($string, ' '));//hello world
Posted by: Guest on September-24-2021

Code answers related to "extract text before last space php"

Browse Popular Code Answers by Language