Solved

Assume That the Data for Salary Is Entered with Both

Question 7

Multiple Choice

Assume that the data for salary is entered with both a dollar symbol and a space.Which of the following instructions will remove the dollar symbol?


A) salary.TrimStart("$")
B) salary.TrimLeft("$")
C) salary.TrimEnd("$")
D) salary.TrimRight("$")

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions