diff --git a/gitlab-pages/docs/reference/string.md b/gitlab-pages/docs/reference/string.md index 84d54cfd2..4b64bbc4b 100644 --- a/gitlab-pages/docs/reference/string.md +++ b/gitlab-pages/docs/reference/string.md @@ -39,8 +39,7 @@ the string "tata" given to the function below would return "at". ```pascaligo -function slice_op (const s : string) : string is - begin skip end with string_slice(1n , 2n , s) +function slice_op (const s : string) : string is string_slice(1n , 2n , s) ``` ```cameligo @@ -64,8 +63,7 @@ Concatenate two strings and return the result. ```pascaligo -function concat_op (const s : string) : string is - begin skip end with string_concat(s , "toto") +function concat_op (const s : string) : string is s ^ "toto" ```