Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, March 11, 2015

What is strstr() function ?

To search a sub string from the string, we use a function known as strstr(). If the substring is found into the string it will return a positive value, when the substring is not matched to the string than it will return a null pointer.

Sy:
variable =  strstr( string, substring);
ex:

flag = strstr( str, “Hello” );

No comments:

Post a Comment