# Function doesntStartWith

doesntStartWith(attribute, value): Filter

Creates a filter to isolate attribute values that do not start with a specified string.

Matching is case insensitive.

You can optionally use wildcard characters for pattern matching, as described in the like() function.

# Parameters

Parameter Type Description
attribute Attribute Text attribute to filter on
value string Value to filter by

# Returns

Filter

A filter instance

# Example

Filter for countries in the Sample ECommerce data model where the country name doesn't start with 'United'. This filter matches countries not like 'United States' and 'United Kingdom'.

filterFactory.doesntStartWith(DM.Country.Country, 'United')