Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) UPPER( )(I) Removes leading and trailing spaces from a string.
(B) LENGTH( )(II) Extracts a specified number of characters from the beginning of a string.
(C) TRIM( )(III) Converts all string characters into uppercase.
(D) LEFT( )(IV) Returns the number of characters in a string.

Solution

✅ Correct Option: 2
List IList II
(A) UPPER( )(III) Converts all string characters into uppercase.
(B) LENGTH( )(IV) Returns the number of characters in a string.
(C) TRIM( )(I) Removes leading and trailing spaces from a string.
(D) LEFT( )(II) Extracts a specified number of characters from the beginning of a string.

TRIM removes only the spaces at the start and end of a string, not the ones in the middle. LEFT takes characters from the start of the string, and RIGHT takes them from the end.

Keyboard Shortcuts

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