From 5d5565117b2c2ec3ab85a7367e8939a4d3fce3ab Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Mon, 6 Feb 2023 17:13:03 +1100 Subject: [PATCH] Update compound-library.md --- compound-library.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compound-library.md b/compound-library.md index 8520993..4d76d68 100644 --- a/compound-library.md +++ b/compound-library.md @@ -80,3 +80,11 @@ This function returns a new string which is identical to the string `self`, exce These characters used because they are the only control characters currently supported by Toy. +## _trimBegin(self: string, trimChars: string = " \t\n\r") + +This is identical to `_trim(self, trimChars)`, except it is only applied to the beginning of the first argument. + +## _trimEnd(self: string, trimChars: string = " \t\n\r") + +This is identical to `_trim(self, trimChars)`, except it is only applied to the end of the first argument. +