Files
marqdo/public/stdlib/text.mq.md
T
cflmyandCursor ecc92f473a Unify frontmatter imports as import bind:target and drop > imports.
`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format`
binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use`
now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples,
man-test and tests; adds a negative gold and updates view/catalog rendering.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 10:03:21 +08:00

357 B


title: lib/text — strings description: Trim, split, join wrappers import text:lib/text.mq.md

main

Import lib/text.mq.md. Functions: str_trim(s), str_split(s, sep), str_join(xs, sep).

*t = > text.str_trim s= marqdo *

print text=t

parts = > text.str_split s=a,b,c sep=,

j = > text.str_join xs=parts sep=-

print text=j