Clojure String Audit for PTC-Lisp

Copy Markdown View Source

Warning: This file is auto-generated by mix ptc.gen_docs from priv/functions.exs. Manual edits will be overwritten. Edit priv/functions.exs instead.

Comparison of clojure.string vars against PTC-Lisp builtins.

See also: Function Reference | Clojure Core Audit | Clojure Set Audit | Java Math Audit

Summary

StatusCount
Supported12
Candidate8
Not Relevant1
Not Classified0
Total21

Details

VarStatusDescriptionNotes
blank?🔲 candidateTrue if s is nil, empty, or contains only whitespacepure string predicate
capitalize🔲 candidateConverts first character to upper-case, rest to lower-casepure string transformation
ends-with?✅ supportedTrue if s ends with substr
escape🔲 candidateReturn a new string applying cmap to each characterpure character mapping
includes?✅ supportedTrue if s includes substr
index-of✅ supportedReturn index of value in string
join✅ supportedReturns a string of elements joined by separator
last-index-of✅ supportedReturn last index of value in string
lower-case✅ supportedConverts string to all lower-case
re-quote-replacement❌ not_relevantEscapes special characters in replacement stringJava regex-specific utility
replace✅ supportedReplaces all instances of match in s
replace-first🔲 candidateReplaces first instance of match in spure string transformation
reverse🔲 candidateReturns s with characters reversedpure string transformation
split✅ supportedSplits string on regex or string
split-lines✅ supportedSplits string on \n or \r\n
starts-with?✅ supportedTrue if s starts with substr
trim✅ supportedRemoves whitespace from both ends of string
trim-newline🔲 candidateRemoves all trailing newline or return characterspure string transformation
triml🔲 candidateRemoves whitespace from the left side of stringpure string transformation
trimr🔲 candidateRemoves whitespace from the right side of stringpure string transformation
upper-case✅ supportedConverts string to all upper-case