/* Find the point in the ConfigResp string for this question. */
CHAR16* GetOffsetFromConfigResp(IN FORM_BROWSER_STATEMENT *Question, IN CHAR16 *ConfigResp)
/* Find the point in the ConfigResp string for this question. */
CHAR16* GetOffsetFromConfigResp(IN FORM_BROWSER_STATEMENT *Question, IN CHAR16 *ConfigResp)
{
  CHAR16  *RequestElement;
  CHAR16  *BlockData;
  if (Question->Storage->Type == EFI_HII_VARSTORE_NAME_VALUE) {
    RequestElement = StrStr (ConfigResp, Question->VariableName);
    if (RequestElement != NULL) {
      RequestElement += StrLen (Question->VariableName) + 1;
    }
    return RequestElement;
  }
  HiiToLower (ConfigResp);
  RequestElement = StrStr (ConfigResp, Question->BlockName);
  if (RequestElement != NULL) {
    RequestElement += StrLen (Question->BlockName) + StrLen (L"&VALUE=");
    return RequestElement;
  }
  BlockData = AllocateCopyPool (StrSize (Question->BlockName), Question->BlockName);
  ASSERT (BlockData != NULL);
  HiiToLower (BlockData);
  RequestElement = StrStr (ConfigResp, BlockData);
  FreePool (BlockData);
  if (RequestElement != NULL) {
    RequestElement += StrLen (Question->BlockName) + StrLen (L"&VALUE=");
  }
  return RequestElement;
}