Extend Text_Sub_Range
with From_End_While
#5512
Labels
-libs
Libraries: New libraries to be implemented
l-text
p-low
Low priority
x-new-feature
Type: new feature request
This task is automatically imported from the old Task Issue Board and it was originally created by Radosław Waśko.
Original issue is here.
While most constructors of
Text_Sub_Range
have pairs that work both from the beginning and end of the string, theWhile
constructor does not have such a variant.However it may be useful to take or drop some characters form the end of the string based on a predicate. Thus we should add a dual of
While
, calledFrom_End_While
which selects a range of characters satisfying the given predicate, but looking from the end of the string.The text was updated successfully, but these errors were encountered: