adspace
Tell me how to find the position of the first occurrence of a substring in a string?
Answer Posted / Kumar Alok Ranjha
In PHP, you can use the `strpos()` function to find the position (index) of the first occurrence of a substring within another string. For example: `strpos($haystack, $needle);`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to calculate the difference between two dates using php?
Tell me what kind of things have you done on the social side?
Explain me is it possible to destroy a cookie?
What sized websites have you worked on in the past?
Write a program using while loop?
Which variable declarations within a class is invalid in php?
What does $_files means?
hello all, I need some sample placement papers in lion bridge.. can anyone help me?
How to create a web form?
What is difference between static and final in php?
sort term descripttion form, report and uery
Name and explain five of the PHP error constants?
What is the current stable version of php?
What is trait in php?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer