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

Where do you find the themes to install?

1 Answers  


What is database abstraction layer ?

1 Answers  


Which module used to validate drupal code?

1 Answers  


How to handle localization in drupal?

1 Answers  


Mention what are the key features of Drupal?

1 Answers  


What is comment moderation in drupal?

1 Answers  


Which are the core optional modules in drupal 6.x?

1 Answers  


What is content construction kit (cck) in drupal?

1 Answers  


Which orm is used in drupal 7?

1 Answers  


What language is drupal?

1 Answers  


What programming language does drupal use?

1 Answers  


What is entity and entity api?

1 Answers  


Categories