Fix order of arguments in another strings.TrimLeft example

This commit is contained in:
Kaushal Modi 2018-12-13 17:14:03 -05:00 committed by GitHub
parent 0982f65c15
commit 0d45ea9cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,5 +24,4 @@ Given the string `"abba"`, leading `"a"`'s can be removed a follows:
Numbers can be handled as well:
{{ strings.TrimLeft 1221 "12" }} → ""
{{ strings.TrimLeft 12 1221341221 }} → "341221"