• Build a filter function to replace the occurrence of a search string with another string. Evaluates to string.

    Returns

    The newly created filter function.

    Type Parameters

    • EntityT extends Entity<EntityT>

    Parameters

    • str: string | Field<EntityT, boolean, boolean> | StringFilterFunction<EntityT>

      The string to get the index from. This can either be a string, a reference to a field or another filter function.

    • searchStr: string | Field<EntityT, boolean, boolean> | StringFilterFunction<EntityT>

      The substring to get the index for. This can either be a string, a reference to a field or another filter function.

    • replaceStr: string | Field<EntityT, boolean, boolean> | StringFilterFunction<EntityT>

      The substring to get the index for. This can either be a string, a reference to a field or another filter function.

    Returns StringFilterFunction<EntityT>

Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.