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"**
the str_replace is not working....
Thx in advance....