コード例 #1
0
ファイル: StrEx.cs プロジェクト: coolape/mibao
        static public string appendSpce(string str, int totalLen)
        {
            int i = 0;

            if (str == null || str == "")
            {
                str = "";
            }
            i = str.Length;
            PStr ps = PStr.b(str);

            for (; i < totalLen; i++)
            {
                ps.a(" ");
            }
            return(ps.e());
        }