取字符串长度

取字符串长度

 
复制代码
//取字符串长度
function Len(const value: string): integer;
begin
  if Value='' then
     result:= 0 
  else
    result:= PInteger(Integer(Value)-4)^;
end;
复制代码
原文地址:https://www.cnblogs.com/westsoft/p/15426630.html