Solved

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

Question 15

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