more convenience
This commit is contained in:
@ -416,7 +416,7 @@ amsstring select_between(const amsstring &s, const ams_chartype delimitleft, con
|
||||
int ind1,ind2;
|
||||
|
||||
ind1 = s.find(delimitleft);
|
||||
ind2 = s.find(delimitright);
|
||||
ind2 = s.findright(delimitright);
|
||||
|
||||
if(ind1<0) ind1=0;
|
||||
if(ind2<0) ind2=s.length;
|
||||
|
||||
Reference in New Issue
Block a user