NIFI-12535: This closes #8181. Fixed documentation for 'PadRight Examples' table name in the Expression Language Guide as well as the last example in the table.

Signed-off-by: Joseph Witt <joewitt@apache.org>
This commit is contained in:
Alex Ethier 2023-12-21 13:12:08 -05:00 committed by Joseph Witt
parent c41b273e82
commit 77093671e0
No known key found for this signature in database
GPG Key ID: 9093BF854F811A1A
1 changed files with 2 additions and 2 deletions

View File

@ -1078,13 +1078,13 @@ Expressions will provide the following results:
.PadLeft Examples .PadRight Examples
|======================================================================================= |=======================================================================================
| Expression | Value | Expression | Value
| `${greetings:padRight(10)}` | `hello\_____` | `${greetings:padRight(10)}` | `hello\_____`
| `${greetings:padRight(10, '@')}` | `hello@@@@@` | `${greetings:padRight(10, '@')}` | `hello@@@@@`
| `${greetings:padRight(10, 'xy')}` | `helloxyxyx` | `${greetings:padRight(10, 'xy')}` | `helloxyxyx`
| `${greetings:padLeft(10, 'aVeryLongPaddingString')}` | `helloaVery` | `${greetings:padRight(10, 'aVeryLongPaddingString')}` | `helloaVery`
|======================================================================================= |=======================================================================================