emailLength

fnptrdiff_t emailLength(Char)(scope const(Char)[] s) if (isSomeChar!Char)

Does string s[] start with an email address?

Returns

-1 it does not

len it does, and s[0 .. i] is the slice of s[] that is that email address References: RFC2822