This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:devel:transformations [2021/04/27 09:38] miconda |
cookbooks:devel:transformations [2021/06/25 10:01] miconda [{s.after,x}] |
||
---|---|---|---|
Line 381: | Line 381: | ||
==== {s.after,x} ==== | ==== {s.after,x} ==== | ||
- | Return the part of the string after the character **x**. If the character **x** is not found, it returns empty string. | + | Return the part of the string after the character **x** searched from the start of the value. If the character **x** is not found, it returns empty string. |
<code c> | <code c> | ||
Line 388: | Line 388: | ||
</ | </ | ||
+ | ==== {s.rafter, | ||
+ | |||
+ | Return the part of the string after the character **x** searched from the end of the value. If the character **x** is not found, it returns empty string. | ||
+ | |||
+ | <code c> | ||
+ | " | ||
+ | # will return " | ||
+ | </ | ||
==== {s.before, | ==== {s.before, | ||
Line 530: | Line 538: | ||
< | < | ||
" | " | ||
+ | </ | ||
+ | |||
+ | ' | ||
+ | |||
+ | ' | ||
+ | |||
+ | ==== {param.in, | ||
+ | |||
+ | Return 1 if the parameter ' | ||
+ | |||
+ | Example: | ||
+ | < | ||
+ | " | ||
</ | </ | ||
Line 648: | Line 669: | ||
==== {line.at, | ==== {line.at, | ||
- | Return the line at position ' | + | Return the line at position ' |
Example: | Example: |