Question:

Match List-I with List-II.
List-IList-II
(A) SUBSTR()(II) To extract a substring from a string.
(B) TRIM()(IV) To remove spaces from both 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.

Show Hint

String functions help manipulate and analyze text: \texttt{SUBSTR()} extracts, \texttt{INSTR()} finds, \texttt{TRIM()} cleans, \texttt{LEFT()} extracts from the left.
Updated On: Sep 18, 2025
  • (A)-(I), (B)-(II), (C)-(III), (D)-(IV)
  • (A)-(II), (B)-(IV), (C)-(I), (D)-(III)
  • (A)-(I), (B)-(II), (C)-(IV), (D)-(III)
  • (A)-(III), (B)-(IV), (C)-(I), (D)-(II)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: SUBSTR().
Used to extract a substring → (II).
Step 2: TRIM().
Removes spaces from both ends of a string → (IV).
Step 3: INSTR().
Finds the position of a substring → (I).
Step 4: LEFT().
Extracts characters from the left side of a string → (III).
Final Answer: \[ \boxed{(A)-(II), (B)-(IV), (C)-(I), (D)-(III)} \]
Was this answer helpful?
0
0

Questions Asked in CUET exam

View More Questions