There are several functions that don’t take the collection they operate on last, which means they can’t be used in pipelines. For example:
-
delimit COLLECTION DELIMIT LASTshould bedelimit DELIMIT LAST COLLECTIONto enableslice "a" "b" "c" | delimit ", " " " -
split STRING DELIMshould besplit DELIM STRINGto enable"a b c" | split " " -
hasPrefix STRING PREFIXshould behasPrefix PREFIX STRINGto enable"abc" | hasPrefix "a"
Here are a few others I found with a cursory search:
- isset
- sort
- where
It would be useful to add “func2” variants, like “delimit2”, so we can use them with pipelines if desired. Or just change the existing funcs to work that way; whichever works.