Returns zero if the string is empty or the value passed in if not.
Note that unlike IsEmpty, this returns back the value passed if not empty (and probably not zero as IsEmpty would).
For information regarding exceptions / errors, see
here.
% set Nothing ""
% RetZeroIfEmpty $Nothing
0
% set Something 1
1
% RetZeroIfEmpty $Something
1