Dear Kevin,
# this works
nchar("read the help for length”)
[1] 24

On 24 Oct 2011, at 4:14 PM, 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")
> 
> returns 1 so I know that is not right.
> 
> Thank you.
> 
> Kevin
> 
> ______________________________________________
> R-help@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.

______________________________________________
R-help@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.

Reply via email to