endsWithSeparator

Checks if the given region ends with the given separator.

  1. size_t endsWithSeparator(const(T)[] region, Separator separator)
    size_t
    endsWithSeparator
    (
    T
    Separator
    )
    (
    const(T)[] region
    ,
    const Separator separator
    )
    if (
    is(typeof(T.init == Separator.init) : bool)
    )
  2. size_t endsWithSeparator(const(T)[] region, Separator sep)

Return Value

Type: size_t

The number of elements that match.

Meta