chomp

Array-specialization of std.string.chomp with default predicate.

  1. inout(T)[] chomp(inout(T)[] haystack, T[] needle)
    @trusted
    inout(T)[]
    chomp
    (
    T
    )
    (
    scope return inout(T)[] haystack
    ,
    in T[] needle
    )
  2. inout(T)[] chomp(inout(T)[] haystack, T needle)
  3. bool startsWith(T[] haystack, T[] needle)
  4. bool startsWith(T[] haystack, T needle)

Meta