[R] Is it possible to get the first letter of a word?

Ken Knoblauch knoblauch at lyon.inserm.fr
Wed Jun 22 16:55:22 CEST 2005


or What about;

> strsplit("Training", split="")[[1]][1]
[1] "T"

____________________
Ken Knoblauch
Inserm U371, Cerveau et Vision
Department of Cognitive Neurosciences
18 avenue du Doyen Lepine
69500 Bron
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: 06 84 10 64 10
http://www.lyon.inserm.fr/371/




More information about the R-help mailing list