dize manipülasyon

0 Cevap php

what to do if i want to replace only the first occurance of a word in a string. eg: I want to change the first occurance of heelo in a string with kiran.

input string == **"hello world i am a noob hello to all"**
output string == **"kiran world i am a noob hello to all"**

str_replace çalışmıyor ....

Önceden thx ....

0 Cevap