SetText with empty Text no longer working

Then is this the case for other set variable types? As far as i know this is the way you are supposed to invalidate (nullptr) a class or clear a string.