Browse Source

transformations: fixed examples for {s.replace,a,c}

Daniel-Constantin Mierla 5 months ago
parent
commit
a885a79b8e

+ 1 - 1
docs/cookbooks/6.0.x/transformations.md

@@ -299,7 +299,7 @@ Example:
 
 ``` c
 $var(x) = "abababa";
-$(var(x){s.replace,a,c} => "cbcbcbc"
+$(var(x){s.replace,a,c}) => "cbcbcbc"
 ```
 
 ### {s.ftime,format}

+ 1 - 1
docs/cookbooks/devel/transformations.md

@@ -299,7 +299,7 @@ Example:
 
 ``` c
 $var(x) = "abababa";
-$(var(x){s.replace,a,c} => "cbcbcbc"
+$(var(x){s.replace,a,c}) => "cbcbcbc"
 ```
 
 ### {s.ftime,format}