Multiple choice technology programming languages

Suggest the most appropriate masking macro function that can be used to read the following text strings: Pride and Prejudice Rice & Beans Charles Dickens' Complete Works

  1. %QUOTE , %NRQUOTE , %BQUOTE

  2. %NRQUOTE , %NRQUOTE , %QUOTE

  3. %QUOTE , %QUOTE , %NRQUOTE

  4. %QUOTE , %BQUOTE , %NRQUOTE

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

For the given strings, %QUOTE handles "Pride and Prejudice" (no special characters needing masking), %NRQUOTE handles "Rice & Beans" (the ampersand needs masking), and %BQUOTE handles "Charles Dickens' Complete Works" (the single quote needs masking). Option A sequences them correctly. Different masking functions handle different special characters - ampersands, percent signs, quotes, etc.