<div dir="ltr">I've had some difficulty comparing string variables to string constants with ==. I believe it's always after using a readLine(). Does Swift require a .equals() or a .compareTo(), as other c like languages, or are there invisible characters in my string because of the readLine() which I need to strip out?<br clear="all"><div>Thanks!</div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">John Myers<div>------------------------------------------------------------------<br></div><div><a href="mailto:myersj@shawanoschools.com" target="_blank">myersj@shawanoschools.com</a></div><div><br></div></div></div>
</div>