Addr822Comment1 (NotesName - JavaScript)

Read-only. Comment1 component of IP address in the format based on RFC 822 Address Format Syntax.

Defined in

NotesName

Syntax

getAddr822Comment1() : string

Usage

The Comment1 component is the first part of the address in parentheses.

This property returns an empty string if the name is not an IP address that contains a Comment1 component.

Examples

This computed field returns Guitars.
var nam:NotesName = session.createName(
	"\"John B Goode\" <jbgoode@us.acme.com> (Guitars) (Music) (East)");
return nam.getAddr822Comment1();