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 |
Where do you find the themes to install?
What is database abstraction layer ?
Which module used to validate drupal code?
How to handle localization in drupal?
Mention what are the key features of Drupal?
What is comment moderation in drupal?
Which are the core optional modules in drupal 6.x?
What is content construction kit (cck) in drupal?
Which orm is used in drupal 7?
What language is drupal?
What programming language does drupal use?
What is entity and entity api?