struct te_substring_t

Overview

Structure for describing a piece of string More…

#include <te_string.h>

struct te_substring_t {
    // fields

    te_string* base;
    size_t start;
    size_t len;
};

Detailed Documentation

Structure for describing a piece of string

Fields

te_string* base

The underlying string

size_t start

The position of the beginning of the substring

size_t len

The length of the substring