1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
trim (source) // trim whitespace
triml (source) // trim whitespace
trimr (source) // trim whitespace
strip (source, match) // trim elements
stripl (source, match) // trim elements
stripr (source, match) // trim elements
chopl (source, match) // trim pattern match
chopr (source, match) // trim pattern match
delimit (src, set) // split on delims
split (source, pattern) // split on pattern
splitLines (source); // split on lines
head (source, pattern, tail) // split to head & tail
join (source, postfix, output) // join text segments
prefix (dst, prefix, content...) // prefix text segments
postfix (dst, postfix, content...) // postfix text segments
combine (dst, prefix, postfix, content...) // combine lotsa stuff
repeat (source, count, output) // repeat source
replace (source, match, replacement) // replace chars
substitute (source, match, replacement) // replace/remove matches
count (source, match) // count instances
contains (source, match) // has char?
containsPattern (source, match) // has pattern?
index (source, match, start) // find match index
locate (source, match, start) // find char
locatePrior (source, match, start) // find prior char
locatePattern (source, match, start); // find pattern
locatePatternPrior (source, match, start); // find prior pattern
indexOf (s*, match, length) // low-level lookup
mismatch (s1*, s2*, length) // low-level compare
matching (s1*, s2*, length) // low-level compare
isSpace (match) // is whitespace?
unescape(source, output) // convert '\' prefixes
layout (destination, format ...) // featherweight printf
lines (str) // foreach lines
quotes (str, set) // foreach quotes
delimiters (str, set) // foreach delimiters
patterns (str, pattern) // foreach patterns
|