NAME
RetZeroIfEmpty — Return zero if passed empty string.
SYNOPSIS
RetZeroIfEmpty Value
DESCRIPTION
Return Value
Returns zero if the string is empty or the value passed in if not.
Arguments
ValueValue to check.
More Info
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.
EXAMPLES
% set Nothing ""
% RetZeroIfEmpty $Nothing
0
% set Something 1
1
% RetZeroIfEmpty $Something
1
SEE ALSO
IsEmpty, SetZeroIfEmpty
KEYWORDS
check, variable