Checking for sText before doing a replace.