/* This is useful for such things as Map names which can only be letters and numbers. */
BOOLEAN IsNumberLetterOnly(IN CONST CHAR16 *String, IN CONST UINTN Len)
/* This is useful for such things as Map names which can only be letters and numbers. */
BOOLEAN IsNumberLetterOnly(IN CONST CHAR16 *String, IN CONST UINTN Len)
{
  UINTN  Count;
  for (Count = 0; Count < Len && String != NULL && *String != CHAR_NULL; String++, Count++) {
    if (!(((*String >= L'a') && (*String <= L'z')) ||
          ((*String >= L'A') && (*String <= L'Z')) ||
          ((*String >= L'0') && (*String <= L'9')))
        )
    {
      return (FALSE);
    }
  }
  return (TRUE);
}