SUBSTR(SQUARE ANS ALWAYS WORK HARD,14,6) will return

  1. ALWAY

  2. S ALWA

  3. ALWAYS

  4. None of the above


Correct Option: C
Explanation:

To solve this question, the user needs to understand the basic syntax of the SUBSTR() function, which allows you to extract a substring from a larger string.

The syntax of the SUBSTR() function is as follows:

SUBSTR(string, start_position, length)

where string is the original string, start_position is the position in the string where you want to start extracting the substring, and length is the number of characters you want to extract.

In this case, the SUBSTR() function is applied to the string "SQUARE ANS ALWAYS WORK HARD", starting at position 14 and extracting 6 characters.

So, to answer the question:

  • The starting position is 14, which means we start counting from the 14th character in the string.
  • The length of the substring to extract is 6, which means we extract 6 characters from the starting position.

Therefore, the answer is:

The Answer is: C. ALWAYS

Find more quizzes: