User Tools

Site Tools


cookbooks:devel:transformations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cookbooks:devel:transformations [2021/06/25 10:03]
miconda [{s.before,x}]
cookbooks:devel:transformations [2021/06/25 11:05]
miconda [{s.rbefore,x}]
Line 410: Line 410:
  
 <code c> <code c>
-"abcdefcgf"{s.rbefore,c}+"abcdefcgh"{s.rbefore,c}
 # will return "abcdef" # will return "abcdef"
 +</code>
 +
 +==== {s.fmtlines,n,m} ====
 +
 +Format the value in lines of n characters, adding m spaces to the start of each new line (not to first line). Each line is ended with "\r\n" apart of last line.
 +
 +<code c>
 +"abcdefgh"{s.fmtlines,4,2}
 +</code>
 +
 +==== {s.fmtlinet,n,m} ====
 +
 +Format the value in lines of n characters, adding m tabs to the start of each new line (not to first line). Each line is ended with "\r\n" apart of last line.
 +
 +<code c>
 +"abcdefgh"{s.fmtlinet,4,2}
 </code> </code>
 ==== {s.urlencode.param} ==== ==== {s.urlencode.param} ====
cookbooks/devel/transformations.txt ยท Last modified: 2022/04/08 18:08 by miconda