[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

GetShortHint

Returns the short version of a Hint string.

Declaration

Source position: forms.pp line 1867

function GetShortHint(

  const Hint: string

):string;

Arguments

Hint

  

The string containing both a short and long Hint.

Function result

The short (or complete) Hint.

Description

A short Hint is separated from the long Hint by a '|' character. When no such character is found, the whole Hint is returned.