delphi xe 获取字符串长度(不足补位)

ShowMessage(Length('Hello').ToString.PadLeft(4,'0'));

中年大叔学Delphi
原文地址:https://www.cnblogs.com/redhat588/p/14355387.html