Match List-I with List-II
List-I List-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.
Match List-I with List-II
| List-I | List-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 I | List 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.
Related questions:
2025: 27 May Shift 2
2025: 21 May Shift 1
2026: 11 May Shift 2
2025: 15 May Shift 2