Skip to content

Commit

Permalink
Update pkg/ottl/ottlfuncs/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-bradley authored Dec 20, 2024
1 parent b78e86e commit c8c0626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ottl/ottlfuncs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1796,12 +1796,12 @@ If the `target` is not a string or does not exist, the `Split` Converter will re

```Trim(target, Optional[replacement])```

The `Trim` Converter removes the leading and trailing character (default: whitespace).
The `Trim` Converter removes the leading and trailing character (default: a space character).

If the `target` is not a string or does not exist, the `Trim` Converter will return an error.

`target` is a string.
`replacement` is an optional string representing the character to replace with (default: whitespace).
`replacement` is an optional string representing the character to replace with (default: a space character).

Examples:

Expand Down

0 comments on commit c8c0626

Please sign in to comment.