On Wed, Nov 28, 2012 at 4:44 PM, Shi, Tao <shida...@yahoo.com> wrote:
> Hi list,
>
> I've encounter this problem (see below).  I know it's particularly R-related 
> and it's easy to get by but it still bothers me a lot.
>
>
> It looks the last character of "N.C. " is a space to me, but it's clearly 
> not.  Can someone tell me a way to figure out what character is in the last 
> position.

Probably a non-breaking or other special space. You can try utf8ToInt
on your character string to convert it to UTF-8 codes. Then look up
the character by its code.

HTH,

Peter

______________________________________________
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