0

I want to replace only complete strings with another string. But the problem is that str_ireplace() is looking for contains...

For example:

str_ireplace('RU', 'RUS', $array[$i]);

Input:

Trillion God Of Strusction rus Luxe

Output:

Trillion God Of StRUSction RUS Luxe

What I want is this:

Trillion God Of Strusction RUS Luxe

How can I do that? - I didnt't find a method for that... :/

Greetings

Jan
  • 179
  • 1
  • 1
  • 8

0 Answers0