str stripped of leading and trailing whitespace
or characters as specified in the second argument.
auto strip(Range)(Range str) if (isSomeString!Range ||
isRandomAccessRange!Range && hasLength!Range && hasSlicing!Range &&
!isConvertibleToString!Range &&
isSomeChar!(ElementEncodingType!Range))Strips both leading and 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 |
leftChars | string of leading characters to be stripped |
rightChars | string of trailing characters to be stripped |
str stripped of leading and trailing whitespace
or characters as specified in the second argument.
_strip