Which of the following methods can be used to determine whether the strRate variable contains the percent

Question:

Which of the following methods can be used to determine whether the strRate variable contains the percent sign?
a. blnResult = strRate.Contains("%")
b. intResult = strRate.IndexOf("%")
c. intResult = strRate.IndexOf("%", 0)
d. All of the above.

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: