Multiple choice technology programming languages

Which substitutes two strings for the format characters "%1" and "%2" in a string contained in the string table

  1. AfxFormatSubString

  2. AfxFormatString

  3. AfxFormatString1

  4. AfxFormatString2

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

AfxFormatString2 is the MFC function that substitutes two strings for the format characters %1 and %2 in a string resource. AfxFormatString1 handles one substitution, while AfxFormatString and AfxFormatSubString serve different purposes.