chickadee » email-address » local-part->string

local-part->string email-addressprocedure

Returns the local part of the address as it appears in the original: the RFC allows MTAs to be case sensitive.

> (use email-address)
> (local-part->string (email-address "Andy Bennett <ANDYJPB@EXAMPLE.NET>"))
"ANDYJPB"