Case-Based Critical Thinking QuestionsCase 1: Human Resources ApplicationAn application used by the human resources (HR) department needs to be improved. You need to use various string manipulation properties and methods to ensure all data entered by a user are accurate and stored correctly.
In order to remove both dashes from the SSN, you should first ____.

A. use the Length property to see how many characters are in the variable
B. use the index value to loop to examine each character in the variable, character by character
C. use the Contains method to see if any dashes are anywhere within the variable
D. use the Insert method to insert dashes

Answer: C

Computer Science & Information Technology

You might also like to view...

The ________ is the row of tabs with buttons at the top of the application window

Fill in the blank(s) with correct word

Computer Science & Information Technology

Often, an Office application will identify a word as misspelled that is not actually misspelled. How can that happen? If a word is flagged as misspelled, how can you correct it (or ignore it if it is not actually an error)?

What will be an ideal response?

Computer Science & Information Technology