示例#1
0
        public static string TrimSapZero(this string o)
        {
            if (string.IsNullOrEmpty(o))
            {
                return(string.Empty);
            }
            else
            {
                if (Common_Func.IsAllZero(o))
                {
                    return(string.Empty);
                }
                if (o.StartsWith("0000"))
                {
                    return(o.Substring(4));
                }

                return(o);
            }
        }