delphi length function code example Example: length of string in delphi iLength := Length(sString); //Counts the length of the string