Files
marqdo/public/stdlib/text.mq.md
T
cflmyandCursor a53ebb65ee Add host stdlib modules and unify view/run capabilities.
Ship fs/time/sys/json/net L1 libs (plus existing text/table), default-on host caps with soft exit under view, bilingual public/stdlib docs, and design notes for deferred math/foreign.

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

20 lines
332 B
Markdown

---
title: lib/text — strings
description: Trim, split, join wrappers
> lib/text.mq.md
---
# main
Import lib/text.mq.md. Functions: str_trim(s), str_split(s, sep), str_join(xs, sep).
*`t` = > str_trim s= marqdo *
> print text=`t`
*`parts` = > str_split s=a,b,c sep=,*
*`j` = > str_join xs=`parts` sep=-*
> print text=`j`