The strDue variable contains the string $****75. Which of the following statements removes the dollar sign and

Question:

The strDue variable contains the string “$****75”. Which of the following statements removes the dollar sign and asterisks from the variable?
a. strDue = strDue.Trim("$"c, "*"c)
b. strDue = strDue.TrimStart("*"c, "$"c)
c. strDue = strDue.TrimStart("$"c, "*"c)
d. All of the above.

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

Step by Step Answer:

Question Posted: