23-02-2012, 01:34 PM
تعديل
PHP كود :
function LengthOfSTR(S: string): Byte;
var
i: Byte;
begin
if S = '' then
begin
Result := 0;
Exit;
end;
i := 1;
while S[i] <> #0 do
inc(i);
Dec(i);
Result := i;
end;
لا اله الا أنت سبحانك اني كنت من الضالمين

