1 | String is empty. |
0 | String is not empty. |
StringValue | String value to check. |
string is equal
but if {[IsEmpty $String]}
looks a bit better than if {[string is equal $String ""]}
and is less tedious to type out.% set EmptyString ""
% IsEmpty $EmptyString
1
% set MyString 123
123
% IsEmpty $MyString
0