Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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”?



I have a string “contact@dataflair.com”. Which string function can be used to split the ..

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

Post New Answer

More R Programming Interview Questions

Explain how R commands are written?

1 Answers  


What are the features of r programming?

1 Answers  


Which function is used to create a boxplot graph in R?

1 Answers  


Explain how data is aggregated in r?

1 Answers  


What is the power analysis?

1 Answers  


What is correlation? How would you measure correlation in r?

1 Answers  


Why we need data visualization in R?

1 Answers  


Write the r programming code for an array of words so that the output is displayed in decreasing frequency order?

1 Answers  


What is the use of sink(), Library () and search() function?

1 Answers  


What is scan() in r?

1 Answers  


Enlist the advantages of using r languages?

1 Answers  


How many types of object are present In R?

1 Answers  


Categories