find word position in sentence, example : Sentence : i like manggo juice and apple juice. find word : juice and the answer is the word "juice" found at position 4 and 7
before, i used strpos, but the answer is -> the word "juice" found at 14 and 30. i wanna like this -> the word "juice" found at 4 and 7. please help.. really really help me.. because, i'm newbie in php.