 (ns cljs.string
-  ;; TODO get refer-clojure exclude working
+  ;; TODO pending refer-clojure exclude support
   #_(:refer-clojure :exclude [replace reverse])
   (:require [goog.string :as gstring]
             [goog.string.StringBuffer :as gstringbuf]))

      (when coll
        (.append sb (first coll))
        (recur (next coll))))
    (str sb)))

(defn- replace-by
  [s re f])

(defn replace
  "Replaces all instance of match with replacement in s.

   match/replacement can be:


   pattern / (string or function of match).

   See also replace-first."
    [s match replacement])

#_(defn- replace-first-by
    [s re f])

#_(defn- replace-first-char
    [s match replace])

#_(defn replace-first
    "Replaces the first instance of match with replacement in s.

   match/replacement can be:

