diff options
Diffstat (limited to 'string-api.html')
-rw-r--r-- | string-api.html | 75 |
1 files changed, 36 insertions, 39 deletions
diff --git a/string-api.html b/string-api.html index 7c553f44..048b9677 100644 --- a/string-api.html +++ b/string-api.html @@ -6,9 +6,6 @@ <link media="all" type="text/css" href="static/clojure.css" rel="stylesheet" /> <link media="all" type="text/css" href="static/wiki.css" rel="stylesheet" /> <link media="all" type="text/css" href="static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> <style>.menuWrapper{height: 36px;}</style> <!--[if lte IE 6]> <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> @@ -170,7 +167,7 @@ Example: (as-str {:foo :bar}) ;;=> "{:foo :bar}" </pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L315" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L315" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -181,7 +178,7 @@ Example: <pre id="var-docstr">True if s is nil, empty, or contains only whitespace.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L104" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L104" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -193,7 +190,7 @@ Example: if n is greater than the length of s.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L125" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L125" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -205,7 +202,7 @@ if n is greater than the length of s.</pre> characters to lower-case.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L271" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L271" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -218,7 +215,7 @@ string. Note: String.trim() is similar and faster. Deprecated in 1.2. Use clojure.string/trim-newline</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L245" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L245" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -230,7 +227,7 @@ Deprecated in 1.2. Use clojure.string/trim-newline</pre> string.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L236" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L236" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -242,7 +239,7 @@ string.</pre> Unicode supplementary characters (above U+FFFF) correctly.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L78" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L78" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -257,7 +254,7 @@ string. Does NOT handle Unicode supplementary characters (above U+FFFF).</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L38" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L38" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -272,7 +269,7 @@ of each Unicode character in the string. Handles Unicode supplementary characters (above U+FFFF) correctly.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L54" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L54" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -284,7 +281,7 @@ supplementary characters (above U+FFFF) correctly.</pre> greater than the length of s.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L117" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L117" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -297,7 +294,7 @@ character in s. If cmap returns nil, the original character is added to the output unchanged.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L91" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L91" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -308,7 +305,7 @@ added to the output unchanged.</pre> <pre id="var-docstr">Gets the i'th character in string.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L377" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L377" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -320,7 +317,7 @@ added to the output unchanged.</pre> representation (with str) of each element is tested with re-find.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L309" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L309" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -332,7 +329,7 @@ representation (with str) of each element is tested with re-find.</pre> separator. Like Perl's join.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L229" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L229" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -343,7 +340,7 @@ separator. Like Perl's join.</pre> <pre id="var-docstr">Converts string to all lower-case.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L353" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L353" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -355,7 +352,7 @@ separator. Like Perl's join.</pre> Deprecated in 1.2. Use clojure.string/triml.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L281" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L281" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -367,7 +364,7 @@ Deprecated in 1.2. Use clojure.string/triml.</pre> String.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L302" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L302" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -385,7 +382,7 @@ For example: (partition #"[a-z]+" "abc123def") returns: ("" "abc" "123" "def")</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L208" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L208" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -396,7 +393,7 @@ returns: ("" "abc" "123" "def")</pre> <pre id="var-docstr">Returns a new String containing s repeated n times.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L140" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L140" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -408,7 +405,7 @@ returns: ("" "abc" "123" "def")</pre> (f (re-groups the-match)).</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L169" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L169" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -419,7 +416,7 @@ returns: ("" "abc" "123" "def")</pre> <pre id="var-docstr">Replaces all instances of character a with character b in s.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L157" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L157" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -431,7 +428,7 @@ returns: ("" "abc" "123" "def")</pre> (f (re-groups the-match)).</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L195" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L195" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -442,7 +439,7 @@ returns: ("" "abc" "123" "def")</pre> <pre id="var-docstr">Replace first match of re in s.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L189" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L189" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -453,7 +450,7 @@ returns: ("" "abc" "123" "def")</pre> <pre id="var-docstr">Replace first occurance of substring a with b in s.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L183" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L183" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -464,7 +461,7 @@ returns: ("" "abc" "123" "def")</pre> <pre id="var-docstr">Replaces all matches of re with replacement in s.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L163" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L163" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -475,7 +472,7 @@ returns: ("" "abc" "123" "def")</pre> <pre id="var-docstr">Replaces all instances of substring a with b in s.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L151" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L151" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -486,7 +483,7 @@ returns: ("" "abc" "123" "def")</pre> <pre id="var-docstr">Returns s with its characters reversed.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L145" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L145" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -498,7 +495,7 @@ returns: ("" "abc" "123" "def")</pre> Deprecated in 1.2. Use clojure.string/trimr.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L288" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L288" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -511,7 +508,7 @@ Deprecated in 1.2. Use clojure.string/trimr.</pre> the maximum number of splits.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L359" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L359" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -522,7 +519,7 @@ the maximum number of splits.</pre> <pre id="var-docstr">Splits s on \n or \r\n.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L295" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L295" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -533,7 +530,7 @@ the maximum number of splits.</pre> <pre id="var-docstr">True if s contains the substring.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L372" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L372" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -547,7 +544,7 @@ locale-sensitive String.toUpperCase() and String.toLowerCase() methods.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L253" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L253" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -558,7 +555,7 @@ methods.</pre> <pre id="var-docstr">Returns the last n characters of s.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L133" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L133" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -569,7 +566,7 @@ methods.</pre> <pre id="var-docstr">Take first n characters from s, up to the length of s.</pre> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L110" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L110" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -580,7 +577,7 @@ methods.</pre> <pre id="var-docstr">Removes whitespace from both ends of string.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L366" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L366" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -591,7 +588,7 @@ methods.</pre> <pre id="var-docstr">Converts string to all upper-case.</pre> <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L347" id="var-source">Source</a> + <a href="https://github.com/clojure/clojure-contrib/blob/13f960559f724521070d761639310d8b1f503216/src/main/clojure/clojure/contrib/string.clj#L347" id="var-source">Source</a> </div> |