splitalphanum
This commit is contained in:
@ -181,16 +181,16 @@ amsstring stripwhitespace(const amsstring &s);
|
||||
amsstring stripallwhitespace(const amsstring &s);
|
||||
|
||||
//splits a string into contiguous sets of alphanumeric characters ignoring non-alphanums
|
||||
amsarray<amsstring> splitalphanum(const amsstring &s); //
|
||||
amsarray<amsstring> splitalphanum(const amsstring &s);
|
||||
|
||||
|
||||
//splits into two guaranteed pieces
|
||||
//if an extension separator . is not encountered, the first piece will contain the entire string, the second ""
|
||||
amsarray<amsstring> splitext(const amsstring &s);
|
||||
amsarray<amsstring> path_splitext(const amsstring &s);
|
||||
|
||||
//splits into two guaranteed pieces
|
||||
//if a path separator is not encountered, the second piece will contain the entire string, and the first ""
|
||||
amsarray<amsstring> splitpath(const amsstring &s);
|
||||
amsarray<amsstring> path_split(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);
|
||||
|
||||
Reference in New Issue
Block a user