Hi, I have a list of names (alphanumeric characters) and each row by itself contains a different number of names seperated by a semicolon (";"). There are also rows with no entry. I would like to have the name before the first semicolon in each row, if there is any entry. Does anyone have an idea how to solve this in R?
Thank you! Stella -- View this message in context: http://r.789695.n4.nabble.com/Get-a-subset-tp4466541p4466541.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.