str stripped of trailing whitespace or characters
specified in the second argument.
auto stripRight(Range)(Range str) if (isSomeString!Range ||
isRandomAccessRange!Range && hasLength!Range && hasSlicing!Range &&
!isConvertibleToString!Range &&
isSomeChar!(ElementEncodingType!Range))Strips trailing whitespace (as defined by isWhite) or as specified in the second argument.
str | string or random access range of characters |
chars | string of characters to be stripped |
str stripped of trailing whitespace or characters
specified in the second argument.
_stripRight