nxt.algorithm.mutation

Algorithms that either improve or complement std.algorithm.mutation.`

Members

Functions

strip
inout(char)[] strip(inout(char)[] haystack)

Array-specialization of strip with default predicate.

strip
inout(T)[] strip(inout(T)[] haystack, T needle)

Array-specialization of strip with default predicate.

stripLeft
inout(T)[] stripLeft(inout(T)[] haystack, T needle)
inout(char)[] stripLeft(inout(char)[] haystack)

Array-specialization of stripLeft with default predicate.

stripRight
inout(T)[] stripRight(inout(T)[] haystack, T needle)
inout(T)[] stripRight(inout(T)[] haystack, T[] needles)
inout(char)[] stripRight(inout(char)[] haystack)

Array-specialization of stripRight with default predicate.

Meta