This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cookbooks:devel:transformations [2021/06/07 21:36] miconda [{line.at,pos}] |
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, | ||