def assert_string(self, string):
fact = lib.EnvAssertString(self._env, string.encode())<EOL>if fact == ffi.NULL:<EOL><INDENT>raise CLIPSError(self._env)<EOL><DEDENT>return new_fact(self._env, fact)<EOL>
Assert a fact as string.