Skip to content

Commit

Permalink
Fix order for the split functions example (#5198) (#5217)
Browse files Browse the repository at this point in the history
(cherry picked from commit cc10190)

Co-authored-by: marioanton <[email protected]>
  • Loading branch information
grafanabot and marioanton authored Sep 14, 2023
1 parent 85e0c4f commit c1d08c4
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 c1d08c4

Please sign in to comment.