文本ok
Structure
import文本:lib/文本.mq.md
fn · h1main
comment
bind
`t` = [文本.去空白] s= marqdo call
> 打印 内容=`t`bind
`parts` = [文本.拆分] s=甲,乙,丙 sep=,bind
`j` = [文本.拼接] xs=`parts` sep=-call
> 打印 内容=`j`Functions
Variables
-
j text甲-乙-丙甲-乙-丙
-
parts list · 3
# value 1 甲 2 乙 3 丙 # value 1 甲 2 乙 3 丙 -
t textmarqdomarqdo
Execution
marqdo
甲-乙-丙
Source
--- title: lib/文本 — 字符串 description: 去空白、拆分、拼接(代码即文档试点) 导入 文本:lib/文本.mq.md --- # main 导入 lib/文本。括号路径或经典点号调用均可。 **`t` = [文本.去空白] s=" marqdo "** **打印 内容=`t`** **`parts` = [文本.拆分] s="甲,乙,丙" sep=","** **`j` = [文本.拼接] xs=`parts` sep="-"** **打印 内容=`j`**
导入 lib/文本。括号路径或经典点号调用均可。