Files
marqdo/tests/lib/text-mid-smoke.mq.md
T
cflmyandCursor 506de65dae feat(stdlib): Mid M4 csv and thickened text helpers
Add lib/csv parse/stringify and expand lib/text with contains,
replace, case, pad, and related golds plus public demos.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 20:27:19 +08:00

22 lines
389 B
Markdown

---
title: lib/text mid smoke
import text:lib/text.mq.md
---
# main
*c = > text.contains text="Hello" sub="ell"*
> print text=`c`
*u = > text.to_upper text="ab"*
> print text=`u`
*r = > text.replace text="a-a-a" old="-" new="_" count=2*
> print text=`r`
*p = > text.pad text="x" width=4 fill="." align="right"*
> print text=`p`
*rep = > text.repeat text="ab" n=3*
> print text=`rep`