1.

Which of the following function is good for the automatic splitting of names?(a) split(b) strsplit(c) autsplit(d) none of the mentionedI had been asked this question in an interview.The origin of the question is Regular Expressions and Text Variables in section Getting Data of Data Science

Answer» CORRECT CHOICE is (b) strsplit

Best explanation: strsplit split a CHARACTER STRING or vector of character strings using a regular expression or a LITERAL string.


Discussion

No Comment Found

Related InterviewSolutions