[Solved] remove part of string after a special character September 11, 2022 by Kirat [ad_1]$string = current(explode('*', 'something*10')); As found here : REFRunning Example : IDEONE 0[ad_2]solved remove part of string after a special character