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 use of substr and strstr function?



What is use of substr and strstr function?..

Answer / Neeraj Kumar Tyagi

substr() is a PHP function used to extract a substring from a string by specifying the starting position, length, or both. strstr(), on the other hand, is a PHP function that returns a substring starting from the first occurrence of a specified search string.nExample:nsubstr("Hello World", 7) would return "World";nstrstr("Hello World", "World") would also return "World". Note that strstr() is case-sensitive.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Drupal Interview Questions

Is drupal 7 still supported?

1 Answers  


Explain updating drupal?

1 Answers  


Explain about services module?

1 Answers  


What does views do and how do you use it?

1 Answers  


Explain about design patterns?

1 Answers  


What is bundle drupal?

1 Answers  


What are the applications of drupal?

1 Answers  


What is drupal child?

1 Answers  


How will you add the fields inside the panels?

1 Answers  


What is authenticated user?

1 Answers  


What is hooks?

1 Answers  


What is module and list out some of the modules used in drupal?

1 Answers  


Categories