skipWordUntil

Skips the next word in the range passed as argument.

void
skipWordUntil
(
Range
T
)
(
ref Range range
,
)

Parameters

range
Type: Range

A character input range. The range is consumed for each word.

charTester
Type: T

Defines the opposite of the valid characters to make a word.

Examples

auto src = "dd\r";
auto skp = CharRange("\r\n\t");
skipWordUntil(src, skp);
assert(src == "\r");

Meta