Skip to main contentSkip to solution

Solution

✅ Correct Option: 1

RTRIM() removes the trailing spaces from a string. So RTRIM("PEN ") gives "PEN", and LENGTH() counts its characters, which is 3.


Option 2: 5 is the length of "PEN " with its two trailing spaces, which is what LENGTH would return without RTRIM.

Option 3: 4 would result from removing only one of the two trailing spaces, but RTRIM removes all of them.

Keyboard Shortcuts

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