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>
20 lines
332 B
Markdown
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`
|