If the supplied iterator is at the start of a valid email address, then the supplied email address instance will be populated with this address as the value and the supplied length will be set.
| Return Type | Function name | Arguments |
|---|---|---|
| bool | AtEmaddr | (hzEmaddr&,uint32_t&,hzChain::Iter&,) |
Declared in file: hzTextproc.h
Defined in file : hzEmaddr.cpp
Function Logic:
Function body:
bool AtEmaddr (hzEmaddr& ema)uint32_t& nLen, hzChain::Iter& ci,
{
// Category: Text Processing
//
// If the supplied iterator is at the start of a valid email address, then the supplied email address instance will be populated with this
// address as the value and the supplied length will be set.
//
// Arguments: 1) ema Reference to an email address, populated by this function
// 2) nLen Reference to an integer set to the email length
// 3) ci Input chain iterator
//
// Returns: True If the supplied cstr sets the email address
// False Otherwise
_hzfunc("AtEmaddr") ;
ema.Clear() ;
ema = ci ;
if (!ema)
return false ;
nLen = ema.Length() ;
return true ;
}