English

If the substring is not present in a string, the INSTR() returns ______. - Informatics Practices

Advertisements
Advertisements

Question

If the substring is not present in a string, the INSTR() returns ______.

Options

  • −1

  • 1

  • NULL

  • 0

MCQ
Fill in the Blanks

Solution

If the substring is not present in a string, the INSTR() returns 0. 

Explanation:

The INSTR function will return 0 if the string contains no substrings. 

shaalaa.com
  Is there an error in this question or solution?
2022-2023 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×