get_string_length method

int get_string_length(
  1. Z3_context c,
  2. Z3_ast s
)

\brief Retrieve the length of the unescaped string constant stored in \c s.

\pre Z3_is_string(c, s)

def_API('Z3_get_string_length', UINT, (_in(CONTEXT), _in(AST)))

Implementation

int get_string_length(
  Z3_context c,
  Z3_ast s,
) {
  return _get_string_length(
    c,
    s,
  );
}