Is strstr and strchr aliases?

Options
- Yes
- No


CORRECT ANSWER : Yes

Discussion Board
PHP

The strchr() is a String function which searches for the first occurrence of a string inside another string.
And this function is an alias of the strstr() function which starts at the last occurrence. strstr() returns the substring of the first string that starts with the first instance of the second argument.

Prajakta Pandit 09-28-2015 02:03 AM

strstr and strchr

What do you mean by aliases? I think both strstr and strchr are the string functions...

S.M.ZUBAIR 10-10-2014 03:43 PM

online test

This is very useful way

Arati Bastakoti 09-10-2014 03:20 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement