/* This routine is used to return substring before period '.' or '\0' Caller should respsonsible of substr space allocation & free */
STATIC VOID GetSubStringBeforePeriod(IN CHAR16 *Str, OUT CHAR16 *SubStr, OUT UINTN *SubStrLen)
/* This routine is used to return substring before period '.' or '\0' Caller should respsonsible of substr space allocation & free */
STATIC VOID GetSubStringBeforePeriod(IN CHAR16 *Str, OUT CHAR16 *SubStr, OUT UINTN *SubStrLen)
{
  UINTN  Index;
  for (Index = 0; Str[Index] != L'.' && Str[Index] != L'\0'; Index++) {
    SubStr[Index] = Str[Index];
  }
  SubStr[Index] = L'\0';
  *SubStrLen    = Index;
}