Implement range, lipsum, unique

This commit is contained in:
2025-11-10 19:41:57 -06:00
parent 298041ecf7
commit 569bff2d3e
3 changed files with 670 additions and 4 deletions

View File

@@ -72,8 +72,15 @@ lines [<on>] [<join>]
join [<with>]
Join separate lines in the string using the given <with> separator.
replace <find> <replace>
replace <find> <replace> [<range>]
Replace all instances of <find> with <replace>.
Optionally, define a "range pattern" to replace. Range patterns define
the nth occurrences of <find> that should be replaced. The last number
in a range will be repeated as necessary.
Example:
"First Name Last Name Salutation Age Height"
replace ' ' , [2, 2, 1]
"First Name,Last Name,Salutation,Age,Height"
lsub <offset> [<length>]
Replace the current string with a substring from the left, starting at <offset>.