Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
260 B
Markdown
22 lines
260 B
Markdown
---
|
|
title: lib/text
|
|
description: English text helpers over trim / split / join
|
|
---
|
|
|
|
## str_trim
|
|
+ `s`
|
|
|
|
**> trim `s`**
|
|
|
|
## str_split
|
|
+ `s`
|
|
+ `sep`
|
|
|
|
**> split value=`s` sep=`sep`**
|
|
|
|
## str_join
|
|
+ `xs`
|
|
+ `sep`
|
|
|
|
**> join value=`xs` sep=`sep`**
|