I think I am being a tiny bit confusing. I have used that condition before. The problem here is that when the value is saved in "inputString" it saves as "null". This would be fine, but the method that I have created is tearing apart the user's
string that he/she put in and evaluating it. When the value is null (user clicks cancel) I need it to send the 'inputString = ""' through the method. But, if the user, him/herself, enters "null" in the input box, my if-statement isn't able to tell the difference.
Here is the code:
In the end, if the user clicked "cancel" the result with the condition that you suggested returns "null" and it evaluates the
word null. I need it to evaluate "".