eg:
string input = HeresSomethingIPreparedEarlier(); if (input.ToLower() == "cake") return "pie";
I suspect some of those other functions are there so Java programmers feel more comfortable (eg: in Java you have to use .equals() when comparing a variable string (eg string cake = "pie") to a constant (eg: "pie").
Edited by Althaz, 21 November 2008 - 04:34 AM.
lol, left the closing bracket off the if statement...n00bish.