On Fri, Mar 17, 2023 at 7:16 AM Juergen Gross <[email protected]> wrote:
>
> Most use cases of split_string_into_pair() are requiring the returned
> strings to be white space trimmed.
>
> In order to avoid the same code pattern multiple times, add a predicate
> parameter to split_string_into_pair() which can be specified to call
> trim() with that predicate for the string pair returned. Specifying
> NULL for the predicate will avoid the call of trim().
>
> Signed-off-by: Juergen Gross <[email protected]>

Reviewed-by: Jason Andryuk <[email protected]>

Reply via email to