#include <stdio.h>
#include <string.h>

typedef int boolean;

#ifndef TRUE
#define TRUE 1
#define FALSE 0
#endif /* !TRUE */

boolean
string_match (string, pattern)
   const char *string;
   const char *pattern;
{
 if (*string == '\0')
  return FALSE;
 else if (strlen (string) < strlen (pattern))
  return FALSE;
 else if (!strncmp (string, pattern, strlen (pattern)))
  return TRUE;
 else
  return string_match (string + 1, pattern);
}