• Libraries

  • Home

  • aero
  • async-flow-fx
  • bidi
  • blossom
  • buddy-core
  • buddy-sign
  • camel-snake-kebab
  • chime
  • clj-kondo
  • clojure
  • clojure.data.json
  • closeable-map
  • config
  • core.async
  • crypto-password
  • cuerdas
  • data.xml
  • devcards
  • digest
  • etaoin
  • fs
  • hiccup
  • hikari-cp
  • honeysql
  • http-fx
  • humanize
  • image-resizer
  • integrant
  • loom
  • migratus
  • next-jdbc
  • openai-clojure
  • postal
  • process
  • reitit-parent
  • ring
  • selmer
  • shadow-cljs-tailwind-jit
  • testcontainers-clj
  • tick
  • timbre
  • tools.cli
  • websocket-client

Library released under Flexiana license. Copyright 2024 Flexiana.

Visit Flexiana website

Public Vars

  • blank? (clj)
  • capitalize (clj)
  • ends-with? (clj)
  • escape (clj)
  • includes? (clj)
  • index-of (clj)
  • join (clj)
  • last-index-of (clj)
  • lower-case (clj)
  • re-quote-replacement (clj)
  • replace (clj)
  • replace-first (clj)
  • reverse (clj)
  • split (clj)
  • split-lines (clj)
  • starts-with? (clj)
  • trim (clj)
  • trim-newline (clj)
  • triml (clj)
  • trimr (clj)
  • upper-case (clj)
Back

escape (clj)

(source)

function

(escape s cmap)
Return a new string, using cmap to escape each character ch from s as follows: If (cmap ch) is nil, append ch to the new string. If (cmap ch) is non-nil, append (str (cmap ch)) instead.

Examples