If the supplied chain iterator's current character is alphanumeric, place it and all subsequent alphanumic characters into the supplied string. Note the supplied iterator is not advanced by this function.

Return TypeFunction nameArguments
uint32_tTestAlphanum(hzString&,hzChain::Iter&,)

Declared in file: hzTextproc.h
Defined in file : hzTextproc.cpp

Function Logic:

0:START 1:items 2:unknown 3:Return 0 4:unknown 5:Return 0 6:unknown 7:items 8:unknown 9:Return 0 10:word 11:Return word.Length()

Function body:

uint32_t TestAlphanum (hzString& word)hzChain::Iter& ci, 
{
   //  Category: Text Presentation
   //  
   //  If the supplied chain iterator's current character is alphanumeric, place it and all subsequent alphanumic characters into the supplied string. Note the
   //  supplied iterator is not advanced by this function.
   //  
   //  Arguments: 1) word The found alphanumeric sequence
   //     2) ci  The input chain iterator
   //  
   //  Returns: Length of alphanumeric sequence
   word.Clear() ;
   if (ci.eof())
       return 0;
   if (!IsAlphanum(*ci))
       return 0;
   hzChain::Iter   zi ;    //  Forward iterator
   hzChain         W ;     //  For building word
   for (zi = ci ; !zi.eof() && IsAlpha(*zi) ; zi++)
       W.AddByte(*zi) ;
   if (!W.Size())
       return 0;
   word = W ;
   return word.Length() ;
}