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