Forum Moderators: coopster
example: /this-query-7.1.5.9-here.htm
I want to eliminate 7.1.5.9 from the link.
so it becomes: /this-query-here.htm
How can I do this in php?
$exploded[0].$exploded[1].$exploded[3]."htm"
Hab
$string = 'hello. hello';
How can I exclude all characters starting from .?
So I exclude '. hello' and it becomes:
'hello'
$exploded_string = [url=http://www.php.net/explode]explode[/url]('.', $string);$new_string = $exploded_string[0];