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

Do I need apache for php?

1058


How to get ip address of a server in php?

1008


What is crypt () in php?

914


Is laravel an oop?

884


How can you create a session in php?

1044


When is a conditional statement ended with endif?

949


Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?

984


Which methods should be used for sending an email using the variables $to, $subject, and $body?

1107


What are the disadvantages of php?

962


What are the php variables?

997


How to remove duplicate values from array using php?

1007


Can php run without server?

1028


Can you convert php to html?

959


How to write in a file in php?

995


How big is varchar max?

958