Which of the following statements changes the contents of the strSocSec variable from 000-11-2222 to 000112222? a.

Question:

Which of the following statements changes the contents of the strSocSec variable from “000-11-2222” to “000112222”?
a. strSocSec = strSocSec.Remove("–")
b. strSocSec = strSocSec.RemoveAll("–")
c. strSocSec = strSocSec.Replace("–","")
d. strSocSec = strSocSec.ReplaceAll("–")

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: