_gr_str_is_space, _gr_str_find_sep, _gr_str_strip_brackets, _gr_str_blank, _gr_str_trim
Synopsis
#include <flint/gr_vec.h>int _gr_str_is_space(char c)sourceconst char * _gr_str_find_sep(const char * s, const char * end, int * err)sourceint _gr_str_strip_brackets(const char ** content_begin, const char ** content_end, const char * s, char open, char close)sourceint _gr_str_blank(const char * s, const char * end)sourcevoid _gr_str_trim(const char ** s, const char ** end)sourceString helpers shared by gr_vec_set_str and gr_mat_set_str: test for a whitespace character; find the next top-level comma between s and end, tracking the nesting of (), [] and {} and setting *err on unbalanced input; find the content between a leading open and its matching close bracket; test whether a range is blank; and trim whitespace from both ends of a range.
Cite this page
The FLINT team, “_gr_str_is_space, _gr_str_find_sep, _gr_str_strip_brackets, _gr_str_blank, _gr_str_trim (gr_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_vec/_gr_str_is_space.html (generated 2026-10-20).
@misc{flint-doc-gr-vec-gr-str-is-space,
author = {{The FLINT team}},
title = {{\_gr\_str\_is\_space, \_gr\_str\_find\_sep, \_gr\_str\_strip\_brackets, \_gr\_str\_blank, \_gr\_str\_trim (gr\_vec.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_vec/_gr_str_is_space.html},
note = {Generated 2026-10-20}
}