I have a string “contact@dataflair.com”. Which string function can be used to split the string into two different strings “contact@dataflair” and “com”?
Answer / Santosh Kumar Singh
You can use the strsplit() function in R to split the string. For example: `strsplit("contact@dataflair.com", split = "@")[[1]]` will return `["contact@dataflair", "com"]`
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain different types of atomic vectors in R?
What is Predictive analysis process in R?
What is the function used for adding datasets in R?
What is Visualization in R?
How will you list all the datasets available in all R packages?
What is data mining and what data miners do in R?
What do you understand by R cluster analysis?
What is white noise model in r?
How can you merge two data frames in R language?
Name all control statements present in r?
Explain how to name the list elements in r?
How many ways are there to read and write files?