#include #include #define LAZY_IMPL #include "../lazy.h" int main() { char *src = " \t This text has some extra whitespace \t "; Lz_Slc s = lz_cstr_to_slc(src); printf("|"LZ_STR_FMT"|\n", LZ_STR_PRINTF(s)); lz_slc_trim_typ(&s, isspace); printf("|"LZ_STR_FMT"|\n", LZ_STR_PRINTF(s)); return 0; }