Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) TRIM(string)(I) Returns a part of a string of size 'n' starting from the specified position of the string.
(B) SUBSTR(string, pos, n)(II) Returns the given string after removing both leading and trailing white space characters.
(C) LENGTH(string)(III) Return the number of characters in the specified string.
(D) INSTR(string, substring)(IV) Returns the position of the first occurrence of the part of the string in the given string

Solution

✅ Correct Option: 1
List IList II
(A) TRIM(string)(II) Removes leading and trailing white space
(B) SUBSTR(string, pos, n)(I) Returns a part of the string of size n from position pos
(C) LENGTH(string)(III) Returns the number of characters in the string
(D) INSTR(string, substring)(IV) Returns the position of the first occurrence of the substring

TRIM cleans spaces at both ends, SUBSTR extracts a part (substring), LENGTH counts characters, and INSTR finds a position (INSTR = "in string").

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question