It is currently not possible to evaluate a text string in a conditional statement. You can have a conditional statement report a text string, but not check text and base a condition on it.
via
RevitCity.com | Help with If then statement
For the very best resource on Revit Formulas, go to:
http://www.revitforum.org/tutorials-tips-tricks/1046-revit-formulas-everyday-usage.html