mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Merge commit 'aa5ac36a3eb68b86c803caec703869efefc8447e'
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
---
|
||||
title: strings.TrimRight
|
||||
description: Returns a slice of a given string with all trailing characters contained in the cutset removed.
|
||||
godocref:
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
lastmod: 2017-02-01
|
||||
@@ -25,4 +24,3 @@ Given the string `"abba"`, trailing `"a"`'s can be removed a follows:
|
||||
Numbers can be handled as well:
|
||||
|
||||
{{ strings.TrimRight 12 1221341221 }} → "122134"
|
||||
|
||||
|
Reference in New Issue
Block a user