Files
marqdo/tests/lib/text-mid-smoke.mq.md
T
cflmyandCursor b5c07385e9 feat(markup): finish v0.3 stock migration and green gold
Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:43:44 +08:00

399 B


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