System.SysUtils.HashName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HashName(Name: MarshaledAString): Cardinal;

C++

extern DELPHI_PACKAGE unsigned __fastcall HashName(char * Name);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

HashName generates a hash code from a null-terminated string.

Call HashName to obtain a hash code of a null-terminated string. The hashing algorithm used treats the string case-insensitively. This means that calling HashName for strings like "JOHN" and "john" yields the same result.

See Also