title: How Do You Compare Two Strings in R?
body: <p>I'm having trouble comparing two strings in R. Is there a method to do it? 
  Like in Java you have String.equals(AnotherString), is there a similar function in R?</p>