From fde6cbeb6868f38d1bb02454a5f6413c91935f5b Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Thu, 29 Dec 2022 09:45:38 -0500 Subject: Add strings.SkipLines function Signed-off-by: Dave Henderson --- funcs/strings.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'funcs/strings.go') diff --git a/funcs/strings.go b/funcs/strings.go index ab59c0c9..040d2e64 100644 --- a/funcs/strings.go +++ b/funcs/strings.go @@ -184,6 +184,11 @@ func (StringFuncs) Repeat(count int, s interface{}) (string, error) { return strings.Repeat(str, count), nil } +// SkipLines - +func (StringFuncs) SkipLines(skip int, in string) (string, error) { + return gompstrings.SkipLines(skip, in) +} + // Sort - // // Deprecated: use [CollFuncs.Sort] instead -- cgit v1.2.3