Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the functionality of the function strstr and stristr?

Answer Posted / arvind pippal(delhi)

strstr() function is used to return the sub string from
first occurrence of string point from the string base.If
string point is not found, returns FALSE. syntax: strstr
(string base,string point)
examle: <?php
$email = 'arvindpippal@gmail.com';
$domain = strstr($email, '@');
echo $domain;
?>
output: @gmail.com
stristr() does the same thing in Case-insensitive manner

Is This Answer Correct ?    23 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is php string function?

1016


What is difference between session and cookies in php?

963


Is it possible to remove the html tags from data?

915


What is difference between strstr() and stristr()?

1075


What are Routines?

2225


Is null empty php?

1026


What is the difference between Session and Cookie?

1064


Explain about the connective abilities of the PHP?

1030


Is php better than python?

977


How to execute a php script from the command line?

1091


What is the use of $_server and $_env?

1050


Explain the types of functions for Splitting String?

1013


What is parent __construct ();?

1013


What are php errors?

971


What is php and sql used for?

1000