mk_seq_index method
\brief Return index of the first occurrence of \c substr in \c s starting from offset \c offset. If \c s does not contain \c substr, then the value is -1, if \c offset is the length of \c s, then the value is -1 as well. The value is -1 if \c offset is negative or larger than the length of \c s.
def_API('Z3_mk_seq_index', AST ,(_in(CONTEXT), _in(AST), _in(AST), _in(AST)))
Implementation
Z3_ast mk_seq_index(
Z3_context c,
Z3_ast s,
Z3_ast substr,
Z3_ast offset,
) {
return _mk_seq_index(
c,
s,
substr,
offset,
);
}