SURNAME - Gets a persons surname (Reports & Settings Report Generator function)

From Catalyst
Jump to: navigation, search

Syntax

$SURNAME{string, type}

Description

Used to retrieve an individual's surname.

Parameters

string
A text parameter that can not be omitted.
The name of the individual.
type
A text parameter that can be omitted.
Whether the subject is an individual or a business.
blank
Automatically detect from the presence of words like 'Ltd'.
I
Assume an individual.
O
Assume an organisation.

Returns

A text value. The surname of an individual, or blank if an organisation.

See also

$FORENAME, $TITLE.