Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Raddon committed Oct 26, 2019
1 parent 53ae1b4 commit 6243f33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expr/builtins/string.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ func stringIndexEval(ctx expr.EvalContext, vals []value.Value) (value.Value, boo

// Strip a string, removing leading/trailing whitespace
//
// strings("apples, oranges ", 0, 3) => {"app"}
// substr("apples ", strings) => "apples"
// string.substr("apples, oranges ", 0, 3) => "app"
// string.substr("apple", 3) => "le"
//
type SubString struct{}

Expand Down

0 comments on commit 6243f33

Please sign in to comment.