R语言拆分字符串 R语言拆分字符串 aaa<-"aa;bb;cc"ccc<-strsplit(aaa,split=";") bbb<- unlist(strsplit(aaa,split=";")) ; bbbbbb[2]str(bbb)length(bbb)