English/Chinese user pages sit side by side; L0 builtins and lib/ text|表 dual APIs land with gold coverage. Capture/view input demos use stdin:/输入: so static export and first page load succeed. Co-authored-by: Cursor <cursoragent@cursor.com>
31 lines
400 B
Markdown
31 lines
400 B
Markdown
---
|
|
title: stdlib text and table
|
|
description: trim split join at type + lib imports
|
|
---
|
|
|
|
# main
|
|
|
|
*`raw` = hi *
|
|
|
|
*`t` = > trim `raw`*
|
|
|
|
> print text=`t`
|
|
|
|
*`parts` = > split value=a,b,c sep=,*
|
|
|
|
*`n` = > len `parts`*
|
|
|
|
> print text=`n`
|
|
|
|
*`mid` = > at value=`parts` index=1*
|
|
|
|
> print text=`mid`
|
|
|
|
*`joined` = > join value=`parts` sep=-*
|
|
|
|
> print text=`joined`
|
|
|
|
*`ty` = > type `parts`*
|
|
|
|
> print text=`ty`
|