1.

Write a function to extract the first name in the string “Mrs. Jake Luther”?(a) Substring(b) Substr(c) Substi(d) Return

Answer» The correct answer is (b) Substr

The best I can explain: The substr() function gives a part of a string. The substr() method will give parts of a string, beginning at the character of the specified position, and returns the specified number of characters.


Discussion

No Comment Found

Related InterviewSolutions