Solved

Which of the Following Statements A), B) or C) Is

Question 5

Multiple Choice

Which of the following statements a) , b) or c) is false?


A) Method replace takes two substrings. It searches a string for the substring in its first argument and replaces each occurrence with the substring in its second argument. The method returns a new string containing the results.
B) The following code replaces tab characters with commas: values = '1\t2\t3\t4\t5'
Values.replace('\t', ', ')
C) Method replace can receive an optional third argument specifying the maximum number of replacements to perform.
D) All of the above statements are true.

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