Warning: This file is auto-generated by
mix ptc.gen_docsfrompriv/functions.exs. Manual edits will be overwritten. Editpriv/functions.exsinstead.
Comparison of clojure.string vars against PTC-Lisp builtins.
See also: Function Reference | Clojure Core Audit | Clojure Set Audit | Java Math Audit
Summary
| Status | Count |
|---|---|
| Supported | 12 |
| Candidate | 8 |
| Not Relevant | 1 |
| Not Classified | 0 |
| Total | 21 |
Details
| Var | Status | Description | Notes |
|---|---|---|---|
blank? | 🔲 candidate | True if s is nil, empty, or contains only whitespace | pure string predicate |
capitalize | 🔲 candidate | Converts first character to upper-case, rest to lower-case | pure string transformation |
ends-with? | ✅ supported | True if s ends with substr | |
escape | 🔲 candidate | Return a new string applying cmap to each character | pure character mapping |
includes? | ✅ supported | True if s includes substr | |
index-of | ✅ supported | Return index of value in string | |
join | ✅ supported | Returns a string of elements joined by separator | |
last-index-of | ✅ supported | Return last index of value in string | |
lower-case | ✅ supported | Converts string to all lower-case | |
re-quote-replacement | ❌ not_relevant | Escapes special characters in replacement string | Java regex-specific utility |
replace | ✅ supported | Replaces all instances of match in s | |
replace-first | 🔲 candidate | Replaces first instance of match in s | pure string transformation |
reverse | 🔲 candidate | Returns s with characters reversed | pure string transformation |
split | ✅ supported | Splits string on regex or string | |
split-lines | ✅ supported | Splits string on \n or \r\n | |
starts-with? | ✅ supported | True if s starts with substr | |
trim | ✅ supported | Removes whitespace from both ends of string | |
trim-newline | 🔲 candidate | Removes all trailing newline or return characters | pure string transformation |
triml | 🔲 candidate | Removes whitespace from the left side of string | pure string transformation |
trimr | 🔲 candidate | Removes whitespace from the right side of string | pure string transformation |
upper-case | ✅ supported | Converts string to all upper-case |