/* Searches a string for the first occurrence of a character contained in a specified buffer.  */
CHAR8* EFIAPI AsciiStrBrk(IN CHAR8 *String, IN CHAR8 *CharSet)
/* Searches a string for the first occurrence of a character contained in a specified buffer.  */
CHAR8* EFIAPI AsciiStrBrk(IN CHAR8 *String, IN CHAR8 *CharSet)
{
  CHAR8  *Str1;
  CHAR8  *Str2;
  for (Str1 = String; *Str1 != L'\0'; Str1++) {
    for (Str2 = CharSet; *Str2 != L'\0'; Str2++) {
      if (*Str1 == *Str2) {
        return (CHAR8 *)Str1;
      }
    }
  }
  return NULL;
}