markobean commented on code in PR #9256:
URL: https://github.com/apache/nifi/pull/9256#discussion_r1755081508
##########
nifi-docs/src/main/asciidoc/expression-language-guide.adoc:
##########
@@ -2872,7 +2872,7 @@ provides several functions for evaluating the same
conditions against groups of
|=======================================================================================
| Expression | Value
| `${allMatchingAttributes("[ax].*"):substringBefore(" "):join("-")}` |
`hello-good`
-| `${allAttributes("abc", "xyz"):join(" now")}` | `hello world nowgood bye
world now`
+| `${allAttributes("abc", "xyz"):join(" now ")}` | `hello world now good bye
world`
Review Comment:
There is a space between "now" and "good bye" in the correct output because
there is a space at the end of the `join` parameter. It reads more easily now
as "hello world now good bye world" rather than the more awkward "hello world
nowgood bye world" with no spaced between "now" and "good".
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]