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

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Thu 23 Jun 2005 - 00:52:29 EST


Use substring() or substr().

Andy

> From: Navarre Sabine
>
> Hi,
> I would to get the first letter of a word like:
>
> > title_cat
> TitleCat
> 1 Training
>
> I would like T from Training!
>
> Thnaks a lot for your help
>
> Sabine
>
>
> ---------------------------------
>
> TÚlÚchargez le ici !
> [[alternative HTML version deleted]]
>
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 23 01:00:06 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:56 EST