replace french text

hello,
how to replace “Téléphone Mobile iphone 5” with " iphone 5" only, I mean I cant replace french string !!!
thanks for help

Use preg_match()
I’m on my phone right now, if still unanswered tomorrow I will post a proper solution from my computer.
Red :wink:

I would say maybe just import the data, then get the users to come back and make a fresh account.

Here you go,
[php]
$str = “Téléphone Mobile iphone 5”;
echo substr($str, strpos($str, ‘iphone 5’));
// output; iphone 5
[/php]

Hope that helps,
Red :wink:

thanks a lot !! :slight_smile:

You’re welcome, happy to help :slight_smile:

Sponsor our Newsletter | Privacy Policy | Terms of Service