From 02c59db8b8d5b2d8b1189949d23d44468470a18f Mon Sep 17 00:00:00 2001 From: John David Pressman Date: Fri, 7 Feb 2020 14:03:57 -0800 Subject: [PATCH] Simplify a few pascaligo functions in string reference page --- gitlab-pages/docs/reference/string.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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" ```