Export substring filter function for backwards compatibility.

  • Internal

    Build a filter function to get a substring starting from a designated position. Evaluates to string.

    Type Parameters

    Parameters

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

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

    • pos: number | Field<EntityT, boolean, boolean> | NumberFilterFunction<EntityT>

      The starting position of the substring. This can be either a number, a reference to a field or another filter function.

    • Optionallen: number | Field<EntityT, boolean, boolean> | NumberFilterFunction<EntityT>

      The length of the substring. This can be either a number, a reference to a field or another filter function.

    Returns StringFilterFunction<EntityT>

    The newly created filter function

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