Skip to content

Commit

Permalink
Fix order for the split functions example (#5198)
Browse files Browse the repository at this point in the history
(cherry picked from commit cc10190)
  • Loading branch information
marioanton authored and grafanabot committed Sep 14, 2023
1 parent 85e0c4f commit a01d41e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/sources/flow/reference/stdlib/split.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ split(list, separator)
## Examples

```river
> split(",", "foo,bar,baz")
> split("foo,bar,baz", "," )
["foo", "bar", "baz"]
> split(",", "foo")
> split("foo", ",")
["foo"]
> split(",", "")
> split("", ",")
[""]
```

0 comments on commit a01d41e

Please sign in to comment.