length() and nchar()
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@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel