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 revisionPrevious revision
Next revisionBoth sides next revision
cookbooks:devel:transformations [2021/06/25 08:03] – [{s.before,x}] micondacookbooks:devel:transformations [2021/06/25 09:05] – [{s.rbefore,x}] miconda
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 16:08 by miconda

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki