diff options
author | Tom Faulhaber <git_net@infolace.com> | 2009-08-19 09:43:54 -0700 |
---|---|---|
committer | Tom Faulhaber <git_net@infolace.com> | 2009-08-19 09:43:54 -0700 |
commit | e753c114fd555d601d6da62847826090d4403542 (patch) | |
tree | a6ecb0789f70ea70292c95bc8dc953dcb341ccb0 | |
parent | b8fc1a73a721c87f0fef5432875539f48e61c952 (diff) |
Updated documentation for commit fda5d6a8ad310624f9efb487a2c9ed8616557ef3
-rw-r--r-- | api-index.html | 6 | ||||
-rw-r--r-- | api-index.json | 75 | ||||
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | str-utils2-api.html | 82 |
4 files changed, 106 insertions, 59 deletions
diff --git a/api-index.html b/api-index.html index d8b97f07..c623794f 100644 --- a/api-index.html +++ b/api-index.html @@ -157,7 +157,7 @@ Shortcuts:<br /> </span></span><span id="section-content"> <a href="str-utils2-api.html#chomp">chomp</a><span id="line-content"> function str-utils2 Removes all trailing newline \n or return \r chara... </span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#choose">choose</a><span id="line-content"> function probabilities.finite-distributions Construct a distribution from an e... </span></span><span id="section-content"> <a href="str-utils-api.html#chop">chop</a><span id="line-content"> function str-utils Removes the last character of string.. -</span></span><span id="section-content"> <a href="str-utils2-api.html#chop">chop</a><span id="line-content"> function str-utils2 Removes the last character of string.. +</span></span><span id="section-content"> <a href="str-utils2-api.html#chop">chop</a><span id="line-content"> function str-utils2 Removes the last character of string, does nothing... </span></span><span id="section-content"> <a href="pprint-api.html#cl-format">cl-format</a><span id="line-content"> function pprint An implementation of a Common Lisp compatible form... </span></span><span id="section-content"> <a href="classpath-api.html#classpath">classpath</a><span id="line-content"> function classpath Returns a sequence of File objects of the elements... </span></span><span id="section-content"> <a href="classpath-api.html#classpath-directories">classpath-directories</a><span id="line-content"> function classpath Returns a sequence of File objects for the directo... @@ -265,7 +265,7 @@ Shortcuts:<br /> </span></span><span id="section-content"> <a href="error-kit-api.html#error">error</a><span id="line-content"> function error-kit Base type for all error-kit errors. </span></span><span id="section-content"> <a href="logging-api.html#error">error</a><span id="line-content"> macro logging Logs a message at the error level.. </span></span><span id="section-content"> <a href="http.agent-api.html#error?">error?</a><span id="line-content"> function http.agent Returns true if the HTTP response code was in the ... -</span></span><span id="section-content"> <a href="str-utils2-api.html#escape">escape</a><span id="line-content"> function str-utils2 Escapes characters in string according to a cmap, ... +</span></span><span id="section-content"> <a href="str-utils2-api.html#escape">escape</a><span id="line-content"> function str-utils2 Returns a new String by applying cmap (a function ... </span></span><span id="section-content"> <a href="dataflow-api.html#eval-cell">eval-cell</a><span id="line-content"> multimethod dataflow Evaluate a dataflow cell. Return [changed, old va... </span></span><span id="section-content"> <a href="math-api.html#exact-integer-sqrt">exact-integer-sqrt</a><span id="line-content"> function math (exact-integer-sqrt n) expects a non-negative inte... </span></span><span id="section-content"> <a href="generic.math-functions-api.html#exp">exp</a><span id="line-content"> multimethod generic.math-functions Return the exp of x.. @@ -330,6 +330,7 @@ Shortcuts:<br /> </span></span><span id="section-content"> <a href="singleton-api.html#global-singleton">global-singleton</a><span id="line-content"> function singleton Returns a global singleton function. f is a funct... </span></span><span id="section-content"> <a href="greatest-least-api.html#greatest">greatest</a><span id="line-content"> function greatest-least Return the greatest argument.. </span></span><span id="section-content"> <a href="greatest-least-api.html#greatest-by">greatest-by</a><span id="line-content"> function greatest-least Return the argument for which f yields the greates... +</span></span><span id="section-content"> <a href="str-utils2-api.html#grep">grep</a><span id="line-content"> function str-utils2 Filters elements of coll by a regular expression. ... </span></span><span id="section-content"> <a href="seq-utils-api.html#group-by">group-by</a><span id="line-content"> function seq-utils Returns a sorted map of the elements of coll keyed... </span></span><span id="section-content"> <a href="jmx-api.html#guess-attribute-typename">guess-attribute-typename</a><span id="line-content"> function jmx Guess the attribute typename for MBeanAttributeInf... </span></span></pre> @@ -425,6 +426,7 @@ Shortcuts:<br /> </span></span><span id="section-content"> <a href="swing-utils-api.html#make-menubar">make-menubar</a><span id="line-content"> function swing-utils Create a menubar containing the given sequence of ... </span></span><span id="section-content"> <a href="duck-streams-api.html#make-parents">make-parents</a><span id="line-content"> function duck-streams Creates all parent directories of file.. </span></span><span id="section-content"> <a href="jmx-api.html#map->attribute-infos">map->attribute-infos</a><span id="line-content"> function jmx Construct an MBeanAttributeInfo[] from a Clojure a... +</span></span><span id="section-content"> <a href="str-utils2-api.html#map-str">map-str</a><span id="line-content"> function str-utils2 Apply f to each element of coll, concatenate all r... </span></span><span id="section-content"> <a href="types-api.html#match">match</a><span id="line-content"> macro types Given a value and a list of template-expr clauses,... </span></span><span id="section-content"> <a href="jmx-api.html#maybe-atomize">maybe-atomize</a><span id="line-content"> function jmx Convert a list of length 1 into its contents, leav... </span></span><span id="section-content"> <a href="jmx-api.html#maybe-keywordize">maybe-keywordize</a><span id="line-content"> function jmx Convert a string key to a keyword, leaving other t... diff --git a/api-index.json b/api-index.json index 64a10926..eab65952 100644 --- a/api-index.json +++ b/api-index.json @@ -474,7 +474,7 @@ "author":"Stuart Sierra", "doc":"String utilities for Clojure"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/str-utils2-api.html", "name":"clojure.contrib.str-utils2", @@ -4964,7 +4964,7 @@ "Returns a string of all elements in 'sequence', separated by\n'separator'. Like Perl's 'join'.", "name":"str-join"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L101", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L101", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/blank?", "namespace":"clojure.contrib.str-utils2", @@ -4972,7 +4972,7 @@ "doc":"True if s is nil, empty, or contains only whitespace.", "name":"blank?"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L126", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L126", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/butlast", "namespace":"clojure.contrib.str-utils2", @@ -4981,7 +4981,7 @@ "Returns s without the last n characters. Returns an empty string\nif n is greater than the length of s.\n\nNote the argument order is the opposite of clojure.core/butlast;\nthis is to keep the string as the first argument for use with ->", "name":"butlast"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L267", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L271", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/capitalize", "namespace":"clojure.contrib.str-utils2", @@ -4990,7 +4990,7 @@ "Converts first character of the string to upper-case, all other\ncharacters to lower-case.", "name":"capitalize"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L240", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L244", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/chomp", "namespace":"clojure.contrib.str-utils2", @@ -4999,15 +4999,16 @@ "Removes all trailing newline \\n or return \\r characters from\nstring. Note: String.trim() is similar and faster.", "name":"chomp"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L235", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L235", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/chop", "namespace":"clojure.contrib.str-utils2", "arglists":[["s"]], - "doc":"Removes the last character of string.", + "doc": + "Removes the last character of string, does nothing on a zero-length\nstring.", "name":"chop"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L77", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L76", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/codepoints", "namespace":"clojure.contrib.str-utils2", @@ -5016,7 +5017,7 @@ "Returns a sequence of integer Unicode code points in s. Handles\nUnicode supplementary characters (above U+FFFF) correctly.", "name":"codepoints"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L319", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L337", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/contains?", "namespace":"clojure.contrib.str-utils2", @@ -5024,7 +5025,7 @@ "doc":"True if s contains the substring.", "name":"contains?"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L37", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L36", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/dochars", "namespace":"clojure.contrib.str-utils2", @@ -5033,7 +5034,7 @@ "bindings => [name string]\n\nRepeatedly executes body, with name bound to each character in\nstring. Does NOT handle Unicode supplementary characters (above\nU+FFFF).", "name":"dochars"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L53", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L52", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/docodepoints", "namespace":"clojure.contrib.str-utils2", @@ -5042,16 +5043,16 @@ "bindings => [name string]\n\nRepeatedly executes body, with name bound to the integer code point\nof each Unicode character in the string. Handles Unicode\nsupplementary characters (above U+FFFF) correctly.", "name":"docodepoints"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L90", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L89", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/escape", "namespace":"clojure.contrib.str-utils2", "arglists":[["s", "cmap"]], "doc": - "Escapes characters in string according to a cmap, a function or map\nfrom characters to their replacements.", + "Returns a new String by applying cmap (a function or a map) to each\ncharacter in s. If cmap returns nil, the original character is\nadded to the output unchanged.", "name":"escape"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L324", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L342", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/get", "namespace":"clojure.contrib.str-utils2", @@ -5059,7 +5060,16 @@ "doc":"Gets the i'th character in string.", "name":"get"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L229", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L303", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/grep", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["re", "coll"]], + "doc": + "Filters elements of coll by a regular expression. The String\nrepresentation (with str) of each element is tested with re-find.", + "name":"grep"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L229", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/join", "namespace":"clojure.contrib.str-utils2", @@ -5068,7 +5078,7 @@ "Returns a string of all elements in coll, separated by\nseparator. Like Perl's join.", "name":"join"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L303", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L321", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/lower-case", "namespace":"clojure.contrib.str-utils2", @@ -5076,7 +5086,7 @@ "doc":"Converts string to all lower-case.", "name":"lower-case"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L276", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L280", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/ltrim", "namespace":"clojure.contrib.str-utils2", @@ -5084,7 +5094,16 @@ "doc":"Removes whitespace from the left side of string.", "name":"ltrim"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L208", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L296", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/map-str", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["f", "coll"]], + "doc": + "Apply f to each element of coll, concatenate all results into a\nString.", + "name":"map-str"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L208", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/partition", "namespace":"clojure.contrib.str-utils2", @@ -5093,7 +5112,7 @@ "Splits the string into a lazy sequence of substrings, alternating\nbetween substrings that match the patthern and the substrings\nbetween the matches. The sequence always starts with the substring\nbefore the first match, or an empty string if the beginning of the\nstring matches.\n\nFor example: (partition \"abc123def\" #\"[a-z]+\")\nreturns: (\"\" \"abc\" \"123\" \"def\")", "name":"partition"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L144", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L144", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/replace", "namespace":"clojure.contrib.str-utils2", @@ -5102,7 +5121,7 @@ "Replaces all instances of pattern in string with replacement. \n\nAllowed argument types for pattern and replacement are:\n 1. String and String\n 2. Character and Character\n 3. regex Pattern and String\n (Uses java.util.regex.Matcher.replaceAll)\n 4. regex Pattern and function\n (Calls function with re-groups of each match, uses return \n value as replacement.)", "name":"replace"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L179", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L179", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/replace-first", "namespace":"clojure.contrib.str-utils2", @@ -5111,7 +5130,7 @@ "Replaces the first instance of pattern in s with replacement.\n\nAllowed argument types for pattern and replacement are:\n 1. String and String\n 2. regex Pattern and String\n (Uses java.util.regex.Matcher.replaceAll)\n 3. regex Pattern and function", "name":"replace-first"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L281", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L285", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/rtrim", "namespace":"clojure.contrib.str-utils2", @@ -5119,7 +5138,7 @@ "doc":"Removes whitespace from the right side of string.", "name":"rtrim"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L308", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L326", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/split", "namespace":"clojure.contrib.str-utils2", @@ -5128,7 +5147,7 @@ "Splits string on a regular expression. Optional argument limit is\nthe maximum number of splits.", "name":"split"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L286", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L290", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/split-lines", "namespace":"clojure.contrib.str-utils2", @@ -5136,7 +5155,7 @@ "doc":"Splits s on \\n or \\r\\n.", "name":"split-lines"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L249", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L253", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/swap-case", "namespace":"clojure.contrib.str-utils2", @@ -5145,7 +5164,7 @@ "Changes upper case characters to lower case and vice-versa.\nHandles Unicode supplementary characters correctly. Uses the\nlocale-sensitive String.toUpperCase() and String.toLowerCase()\nmethods.", "name":"swap-case"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L137", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L137", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/tail", "namespace":"clojure.contrib.str-utils2", @@ -5153,7 +5172,7 @@ "doc":"Returns the last n characters of s.", "name":"tail"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L106", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L106", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/take", "namespace":"clojure.contrib.str-utils2", @@ -5162,7 +5181,7 @@ "Take first n characters from s, up to the length of s.\n\nNote the argument order is the opposite of clojure.core/take; this\nis to keep the string as the first argument for use with ->", "name":"take"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L314", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L332", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/trim", "namespace":"clojure.contrib.str-utils2", @@ -5170,7 +5189,7 @@ "doc":"Removes whitespace from both ends of string.", "name":"trim"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L298", + "http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L316", "wiki-url": "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#str-utils2/upper-case", "namespace":"clojure.contrib.str-utils2", @@ -1777,7 +1777,7 @@ Some ideas are borrowed from <a href="http://github.com/francoisdevlin/devlinsf-clojure-utils/">http://github.com/francoisdevlin/devlinsf-clojure-utils/</a></pre> Public variables and functions: - <span id="var-link"><a href="str-utils2-api.html#str-utils2/blank?" id="var-tag">blank?</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/butlast" id="var-tag">butlast</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/capitalize" id="var-tag">capitalize</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/chomp" id="var-tag">chomp</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/chop" id="var-tag">chop</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/codepoints" id="var-tag">codepoints</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/contains?" id="var-tag">contains?</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/dochars" id="var-tag">dochars</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/docodepoints" id="var-tag">docodepoints</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/escape" id="var-tag">escape</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/get" id="var-tag">get</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/join" id="var-tag">join</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/lower-case" id="var-tag">lower-case</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/ltrim" id="var-tag">ltrim</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/partition" id="var-tag">partition</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/replace" id="var-tag">replace</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/replace-first" id="var-tag">replace-first</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/rtrim" id="var-tag">rtrim</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/split" id="var-tag">split</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/split-lines" id="var-tag">split-lines</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/swap-case" id="var-tag">swap-case</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/tail" id="var-tag">tail</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/take" id="var-tag">take</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/trim" id="var-tag">trim</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/upper-case" id="var-tag">upper-case</a> </span><br /> + <span id="var-link"><a href="str-utils2-api.html#str-utils2/blank?" id="var-tag">blank?</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/butlast" id="var-tag">butlast</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/capitalize" id="var-tag">capitalize</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/chomp" id="var-tag">chomp</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/chop" id="var-tag">chop</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/codepoints" id="var-tag">codepoints</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/contains?" id="var-tag">contains?</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/dochars" id="var-tag">dochars</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/docodepoints" id="var-tag">docodepoints</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/escape" id="var-tag">escape</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/get" id="var-tag">get</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/grep" id="var-tag">grep</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/join" id="var-tag">join</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/lower-case" id="var-tag">lower-case</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/ltrim" id="var-tag">ltrim</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/map-str" id="var-tag">map-str</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/partition" id="var-tag">partition</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/replace" id="var-tag">replace</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/replace-first" id="var-tag">replace-first</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/rtrim" id="var-tag">rtrim</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/split" id="var-tag">split</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/split-lines" id="var-tag">split-lines</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/swap-case" id="var-tag">swap-case</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/tail" id="var-tag">tail</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/take" id="var-tag">take</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/trim" id="var-tag">trim</a> </span><span id="var-link"><a href="str-utils2-api.html#str-utils2/upper-case" id="var-tag">upper-case</a> </span><br /> </div><div id="namespace-entry"> <br /> diff --git a/str-utils2-api.html b/str-utils2-api.html index 71141c55..71535117 100644 --- a/str-utils2-api.html +++ b/str-utils2-api.html @@ -77,12 +77,16 @@ namespace. </div><div style="margin-left: 1em;" class="toc-entry"> <a href="#str-utils2/get">get</a> </div><div style="margin-left: 1em;" class="toc-entry"> + <a href="#str-utils2/grep">grep</a> + </div><div style="margin-left: 1em;" class="toc-entry"> <a href="#str-utils2/join">join</a> </div><div style="margin-left: 1em;" class="toc-entry"> <a href="#str-utils2/lower-case">lower-case</a> </div><div style="margin-left: 1em;" class="toc-entry"> <a href="#str-utils2/ltrim">ltrim</a> </div><div style="margin-left: 1em;" class="toc-entry"> + <a href="#str-utils2/map-str">map-str</a> + </div><div style="margin-left: 1em;" class="toc-entry"> <a href="#str-utils2/partition">partition</a> </div><div style="margin-left: 1em;" class="toc-entry"> <a href="#str-utils2/replace">replace</a> @@ -142,7 +146,7 @@ Some ideas are borrowed from <pre id="var-usage">Usage: (blank? s) </pre> <pre id="var-docstr">True if s is nil, empty, or contains only whitespace.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L101" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L101" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -155,7 +159,7 @@ if n is greater than the length of s. Note the argument order is the opposite of clojure.core/butlast; this is to keep the string as the first argument for use with -></pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L126" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L126" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -165,7 +169,7 @@ this is to keep the string as the first argument for use with -></pre> </pre> <pre id="var-docstr">Converts first character of the string to upper-case, all other characters to lower-case.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L267" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L271" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -175,7 +179,7 @@ characters to lower-case.</pre> </pre> <pre id="var-docstr">Removes all trailing newline \n or return \r characters from string. Note: String.trim() is similar and faster.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L240" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L244" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -183,8 +187,9 @@ string. Note: String.trim() is similar and faster.</pre> <span id="var-type">function</span><br /> <pre id="var-usage">Usage: (chop s) </pre> - <pre id="var-docstr">Removes the last character of string.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L235" id="var-source">Source</a> + <pre id="var-docstr">Removes the last character of string, does nothing on a zero-length +string.</pre> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L235" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -194,7 +199,7 @@ string. Note: String.trim() is similar and faster.</pre> </pre> <pre id="var-docstr">Returns a sequence of integer Unicode code points in s. Handles Unicode supplementary characters (above U+FFFF) correctly.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L77" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L76" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -203,7 +208,7 @@ Unicode supplementary characters (above U+FFFF) correctly.</pre> <pre id="var-usage">Usage: (contains? s substring) </pre> <pre id="var-docstr">True if s contains the substring.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L319" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L337" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -216,7 +221,7 @@ Unicode supplementary characters (above U+FFFF) correctly.</pre> Repeatedly executes body, with name bound to each character in string. Does NOT handle Unicode supplementary characters (above U+FFFF).</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L37" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L36" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -229,7 +234,7 @@ U+FFFF).</pre> Repeatedly executes body, with name bound to the integer code point of each Unicode character in the string. Handles Unicode supplementary characters (above U+FFFF) correctly.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L53" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L52" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -237,9 +242,10 @@ supplementary characters (above U+FFFF) correctly.</pre> <span id="var-type">function</span><br /> <pre id="var-usage">Usage: (escape s cmap) </pre> - <pre id="var-docstr">Escapes characters in string according to a cmap, a function or map -from characters to their replacements.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L90" id="var-source">Source</a> + <pre id="var-docstr">Returns a new String by applying cmap (a function or a map) to each +character in s. If cmap returns nil, the original character is +added to the output unchanged.</pre> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L89" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -248,7 +254,17 @@ from characters to their replacements.</pre> <pre id="var-usage">Usage: (get s i) </pre> <pre id="var-docstr">Gets the i'th character in string.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L324" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L342" id="var-source">Source</a> +</div><div id="var-entry"> + <br /> + <hr /> + <h2 id="str-utils2/grep">grep</h2> + <span id="var-type">function</span><br /> + <pre id="var-usage">Usage: (grep re coll) +</pre> + <pre id="var-docstr">Filters elements of coll by a regular expression. The String +representation (with str) of each element is tested with re-find.</pre> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L303" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -258,7 +274,7 @@ from characters to their replacements.</pre> </pre> <pre id="var-docstr">Returns a string of all elements in coll, separated by separator. Like Perl's join.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L229" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L229" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -267,7 +283,7 @@ separator. Like Perl's join.</pre> <pre id="var-usage">Usage: (lower-case s) </pre> <pre id="var-docstr">Converts string to all lower-case.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L303" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L321" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -276,7 +292,17 @@ separator. Like Perl's join.</pre> <pre id="var-usage">Usage: (ltrim s) </pre> <pre id="var-docstr">Removes whitespace from the left side of string.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L276" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L280" id="var-source">Source</a> +</div><div id="var-entry"> + <br /> + <hr /> + <h2 id="str-utils2/map-str">map-str</h2> + <span id="var-type">function</span><br /> + <pre id="var-usage">Usage: (map-str f coll) +</pre> + <pre id="var-docstr">Apply f to each element of coll, concatenate all results into a +String.</pre> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L296" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -292,7 +318,7 @@ string matches. For example: (partition "abc123def" #"[a-z]+") returns: ("" "abc" "123" "def")</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L208" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L208" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -310,7 +336,7 @@ Allowed argument types for pattern and replacement are: 4. regex Pattern and function (Calls function with re-groups of each match, uses return value as replacement.)</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L144" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L144" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -325,7 +351,7 @@ Allowed argument types for pattern and replacement are: 2. regex Pattern and String (Uses java.util.regex.Matcher.replaceAll) 3. regex Pattern and function</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L179" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L179" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -334,7 +360,7 @@ Allowed argument types for pattern and replacement are: <pre id="var-usage">Usage: (rtrim s) </pre> <pre id="var-docstr">Removes whitespace from the right side of string.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L281" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L285" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -345,7 +371,7 @@ Allowed argument types for pattern and replacement are: </pre> <pre id="var-docstr">Splits string on a regular expression. Optional argument limit is the maximum number of splits.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L308" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L326" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -354,7 +380,7 @@ the maximum number of splits.</pre> <pre id="var-usage">Usage: (split-lines s) </pre> <pre id="var-docstr">Splits s on \n or \r\n.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L286" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L290" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -366,7 +392,7 @@ the maximum number of splits.</pre> Handles Unicode supplementary characters correctly. Uses the locale-sensitive String.toUpperCase() and String.toLowerCase() methods.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L249" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L253" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -375,7 +401,7 @@ methods.</pre> <pre id="var-usage">Usage: (tail s n) </pre> <pre id="var-docstr">Returns the last n characters of s.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L137" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L137" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -387,7 +413,7 @@ methods.</pre> Note the argument order is the opposite of clojure.core/take; this is to keep the string as the first argument for use with -></pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L106" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L106" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -396,7 +422,7 @@ is to keep the string as the first argument for use with -></pre> <pre id="var-usage">Usage: (trim s) </pre> <pre id="var-docstr">Removes whitespace from both ends of string.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L314" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L332" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -405,7 +431,7 @@ is to keep the string as the first argument for use with -></pre> <pre id="var-usage">Usage: (upper-case s) </pre> <pre id="var-docstr">Converts string to all upper-case.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/c20fbee2d68fdcde18c7001f859d32513cf0bde6/src/clojure/contrib/str_utils2.clj#L298" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/fda5d6a8ad310624f9efb487a2c9ed8616557ef3/src/clojure/contrib/str_utils2.clj#L316" id="var-source">Source</a> </div> |