/transliterate

Performs Perl 5-style transliterations on a given string in Clojure

Primary LanguageClojure

# org.clojars.j1n3l0/transliterate

Performs Perl 5-style transliterations on a given string in Clojure

## Usage

  (use '[org.clojars.j1n3l0.transliterate.core :only (tr)])
  ;=> nil
  (defn rot-13 [s] (tr "A-Za-z" "N-ZA-Mn-za-m" s))
  ;=> #'user/rot-13
  (rot-13 "Pybwher vf pbby")
  ;=> "Clojure is cool"

## Installation

Available from clojars.org; add:

  [org.clojars.j1n3l0/transliterate "1.0.0-SNAPSHOT"]

to your project.clj

## License

Copyright (C) 2010 Nelo Onyiah <nelo.onyiah@gmail.com>

Distributed under the Eclipse Public License, the same as Clojure.