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 framework in php for beginners?

934


What does PEAR stands for?

1004


How do I use isdigit function?

990


How do I know my xampp version?

937


How does php session work?

906


What is php destruct?

911


Explain why would we use === instead of ==?

881


How to fix "headers already sent" error in php

987


When are you supposed to use endif to end the conditional statement?

888


How to convert the first character to upper case?

907


How can you propagate a session id?

943


What is the meaning of a final class and a final method?

1036


How to create a mysql connection?

908


Explain how we can retrieve the data in the result set of mysql using php?

918


What is die in php?

973