is there one of these? plz help

Sure, just use

!str.equals(otherStr);