Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) SUBSTR()(I) To find the position of a substring in a string.
(B) TRIM()(II) To extract a substring from a string.
(C) INSTR()(III) To extract characters from the left side of the string.
(D) LEFT()(IV) To remove spaces from both the sides of the string.

Solution

✅ Correct Option: 2
List IList II
(A) SUBSTR()(II) To extract a substring from a string.
(B) TRIM()(IV) To remove spaces from both the sides of the string.
(C) INSTR()(I) To find the position of a substring in a string.
(D) LEFT()(III) To extract characters from the left side of the string.

INSTR means "in string": it returns the position where a substring first occurs, not the substring itself. SUBSTR returns the part of the string, so don't mix the two up.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question