Addr822LocalPart (NotesName - JavaScript)

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

Defined in

NotesName

Syntax

getAddr822LocalPart() : string

Usage

The LocalPart component is the part of the address that precedes the at sign.

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

Examples

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