Question:medium

Which of the following are text functions? (A) MID()
(B) INSTR()
(C) SUBSTR()
(D) LENGTH()

Show Hint

String functions include \texttt{LENGTH()}, \texttt{UPPER()}, \texttt{LOWER()}, \texttt{SUBSTR()}, \texttt{INSTR()}, etc. Useful for text manipulation.
Updated On: Feb 15, 2026
  • (A), (B) and (D) only
  • (A), (B) and (C) only
  • (A), (B), (C) and (D)
  • (B), (C) and (D) only
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Review text function definitions.
- MID(): Extracts a substring from text (equivalent to SUBSTR).
- INSTR(): Locates the starting position of a substring within a larger string.
- SUBSTR(): Retrieves a portion of a string.
- LENGTH(): Determines the character count of a string.

Step 2: Determination.
The functions MID, INSTR, SUBSTR, and LENGTH are all classified as text or string manipulation functions.
Final Answer: \[\boxed{(A), (B), (C) \text{ and } (D)}\]
Was this answer helpful?
0