updates
This commit is contained in:
@ -185,14 +185,21 @@ amsarray<amsstring> splitpath(const amsstring &s);
|
||||
//selects between the outermost set of delimitleft and delimitright chars
|
||||
amsstring select_between(const amsstring &s, const ams_chartype delimitleft, const ams_chartype delimitright);
|
||||
|
||||
//selects between the outermost set of delimitleft and delimitright strings
|
||||
//if delimitleft or delimitright strings are empty, selects the left or right end of the array
|
||||
amsstring select_between(const amsstring &s, const ams_chartype *delimitleft, const ams_chartype *delimitright); //
|
||||
|
||||
amsstring concatenate(const amsarray<amsstring> &slist);
|
||||
|
||||
//adds \n between each line in the concatenated string
|
||||
amsstring concat_lines(const amsarray<amsstring> &lns);//
|
||||
|
||||
|
||||
|
||||
void freadline(FILE *fp, amsstring *s);
|
||||
void freadlines(FILE *fp, std::vector<amsstring> *lines);
|
||||
void freadlines(FILE *fp, amsarray<amsstring> *lines);
|
||||
void fwritelines(FILE *fp, amsstring *s);
|
||||
void fwritelines(FILE *fp, std::vector<amsstring> *lines);
|
||||
void fwritelines(FILE *fp, amsarray<amsstring> *lines);
|
||||
void freadtxtfile(FILE *fp, amsstring *s);
|
||||
|
||||
int readtextfile(const amsstring fname, amsstring *s);
|
||||
|
||||
@ -19,7 +19,7 @@ namespace ams
|
||||
|
||||
void amsstring4_test_concatenation_operators();
|
||||
|
||||
|
||||
void amsstring4_test_convenience1a();
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user