Advertisements
Advertisements
Question
Which MySQL string function is used to extract a substring from a given string based on a specified starting position and length?
Options
SUBSTRING_INDEX()
LENGTH()
MID()
TRIM()
MCQ
Solution
MID()
Explanation:
The syntax of the MID() function:
MID(string, start_position, length)
shaalaa.com
Is there an error in this question or solution?