[BioC] how to split one word into letters

Wenbin Liu wnbnl at yahoo.com
Wed Nov 17 16:43:38 CET 2004


Have you tried substring()? The method i can think of
now is to get the length of the string (word) by
nchar(), and then loop through by substring(). There
may be smarter methods out there that I haven't
realized.

Wenbin
 

--- "Liu, Xin" <Xin.Liu at arradx.com> wrote:

> Dear all, 
> 
> Somebody knows how to split one word into letters?
> Such as split "alabama" into letters "a", "l",
> "a","b","a","m","a".
> 
> Cheers!
> Xin
> 
> This e-mail is from ArraDx Ltd
> 
> The e-mail and any files transmitted with it are
> confidentia...{{dropped}}
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> 



		
__________________________________ 

Meet the all-new My Yahoo! - Try it today!



More information about the Bioconductor mailing list