[R] Length of string?
David Winsemius
dwinsemius at comcast.net
Mon Oct 24 17:32:43 CEST 2011
On Oct 24, 2011, at 11:14 AM, Kevin Burton wrote:
> This is very basic but I have not been able to find an answer.
> Basically I
> want to find the length of a string.
>
> length("Text")
>
?nchar
> returns 1 so I know that is not right.
>
> Thank you.
>
> Kevin
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list