[R] opposite function of strsplit() ?

Ragnhild Sørum rsoerum80 at hotmail.com
Fri Nov 7 08:53:00 CET 2003


I what to solve this problem:

>alfab <- "ABCEDFG"                            #[1] "ABCEDFG"
>chara <- strsplit(alfab, "")                    #[1] "A" "B" "C" "E" "D" 
>"F" "G"
Then I do some changes before I want the character together again, say, 
remove two letters.
Now, "chara" is "A" "B" "E" "D" "G".
Is there any opposite function of strspilt()?

May anybody help me?

MSN Foto http://www.msn.no/foto Fest dine digitale minner til papir

More information about the R-help mailing list