Multiple Choice
The strPhone variable should contain only numbers and no dashes (-) .An error message should display if there is a dash anywhere in the variable.Which of the following statements determines whether the variable contains a dash in order to display the message?
A) If strPhone.Contains("-") = True Then
B) If strPhone.Contains("-") = False Then
C) If strPhone Like "-" Then
D) If strPhone.Contains(#######) = False Then
Correct Answer:

Verified
Correct Answer:
Verified
Q42: To insert characters within a string,you use
Q43: Neither the Trim method nor the Remove
Q44: Visual Basic provides the _ method for
Q45: If a menu item requires additional information
Q46: Each menu in an application does not
Q48: Write the condition that evaluates to True
Q49: To remove characters from only the beginning
Q50: Assume that a text box named PhoneNumberTextBox
Q51: The strState variable should contain two uppercase
Q52: The method that removes characters from only