Jump to content

PHP explode -> all characters before the first dot


elpaisa

Recommended Posts

Hi all!

 

I basically need to remove all characters of a string before the first dot for an example:

 

I have a phrase: statistics.STATUS   

 

this should be the result:   STATUS

 

this is a post var dinamically loaded, so i don't know if to use str_replace or there is another function that i can call.

 

Thanks. all your help is welcome!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.