Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Introduction to Sitecore CDP
Data availability
Managing your account
Managing system settings
Managing guests
Batch segmentation
Data browser
Audience export
Dashboards
Developer center
  • Sitecore CDP
  • Introduction to batch segmentation
  • Create and add rules to a segment in Sitecore CDP
  • Using comparators in a segment
  • Using string comparators in a segment

Using string comparators in a segment

You can use a string comparator to compare full or partial string values. You can also use a string comparator to verify that a string is present.

The following table describes string comparators you can use when creating segments:

String comparator

Description

is equal to

Verifies that the value is the specified string.

is not equal to

Verifies that the value is not the specified string.

includes any of

Verifies that the value contains any of the specified string values.

does not include any of

Verifies that the value does not contain any of the specified string values.

contains

Verifies that the value contains the specified string.

does not contain

Verifies that the value does not contain the specified string.

starts with

Verifies that the value starts with the specified string.

does not start with

Verifies that the value does not start with the specified string.

ends with

Verifies that the value ends with the specified string.

does not ends with

Verifies that the value does not end with the specified string.

is null

Verifies that the value is null.

is not null

Verifies that the value is not null.

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2025 Sitecore