SearchFruct.replace

Replace all matches with the given substitution. Use method tokens() instead to avoid heap activity.

Returns a copy of the content with replacements made

  1. T[] replace(const(T)[] content, T chr)
  2. T[] replace(const(T)[] content, const(T)[] sub)
    struct SearchFruct(T)
    T[]
    replace
    (
    const(T)[] content
    ,
    const(T)[] sub = null
    )

Meta