How can I strip everything past a certain character in a string? i.e.: $foo = "test.gif"; // strip past the .gif $foo = "test"; // again $foo2 = "test.jpeg"; // strip past the .jpeg $foo2 = "test"; Tait
- Re: [PHP] string replace Tait Grove
- Re: [PHP] string replace Nathan Cook
- RE: [PHP] string replace Jerry Lake
- Re: [PHP] string replace Gregor
- Re: [PHP] string replace Monte Ohrt
- RE: [PHP] string replace Maxim Maletsky
- [PHP] String Replace Awlad Hussain
- RE: [PHP] String Replace Niklas Lampén
- Re: [PHP] String Replace Leif K-Brooks