/** * Compare two sub strings. */ int string_compare_substring_substring( const string_t* cpstr_first, size_t t_firstpos, size_t t_firstlen, const string_t* cpstr_second, size_t t_secondpos, size_t t_secondlen) { return string_compare_substring_subcstr( cpstr_first, t_firstpos, t_firstlen, basic_string_at(cpstr_second, t_secondpos), t_secondlen); }
/** * Access string character using subscript. */ char* string_at(const string_t* cpstr_string, size_t t_pos) { assert(t_pos < string_length(cpstr_string)); return (char*)basic_string_at(cpstr_string, t_pos); }
/** * Access string character using subscript. */ char* string_at(const string_t* cpstr_string, size_t t_pos) { return (char*)basic_string_at(cpstr_string, t_pos); }