Solved

Case-Based Critical Thinking Questions Case 1 - Human Resources Application

Question 26

Multiple Choice

Case-Based Critical Thinking Questions Case 1 - Human Resources Application
An 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 is accurate and stored correctly.
The users of the HR application have entered some employee Social Security numbers (SSNs) with dashes (such as 222-33-4444) and some without dashes (such as 222334444) . You need to remove all dashes from any SSN that contains dashes. You will use the ____ method to edit the code so that only numeric characters are stored.


A) Replace
B) Remove
C) Trim
D) Substring

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents