[Rd] length() and nchar()

Byron Ellis bellis at hsph.harvard.edu
Fri Aug 29 22:11:59 MEST 2003


THAT'S how you find the length of a string?!!  *smacks forehead* I 
ended up doing a regex for /$^/. Man, I feel stupid.

On Friday, August 29, 2003, at 01:59 PM, Wolfram Fischer wrote:

> I would propose to add "
>     See also:
>         `nchar' for counting the number of character in
> 		character vectors.
> "
> to the helpfile of length(),
> because it is rather difficult
> to find nchar() if one has only
> search terms as "length", "len",
> "strlen" in mind.
>
> Sincerly
>
> Wolfram Fischer
>
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list