--- title: "Compares Two Text Items" slug: "compares-two-text-items" updated: 2022-11-18T18:36:53Z published: 2022-11-18T18:36:53Z canonical: "documentation.decisions.com/compares-two-text-items" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Compares Two Text Items | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 7.12.0 | | **Location** | Communication > Email | The Compare Two Text Items step is used to evaluate two String Inputs. The step produces six different paths to evaluate the items; two to determine which value would appear first in alphabetical order, two for whether either value is empty, one for if the text values are equal, and one for if both values are empty. For example, where Text A is the word "Text" and Text B is "What", the step will evaluate the values as A Before B. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Text A | String to evaluate against Text B. | String | | Text B | String to evaluate against Text A. | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | None | --- | --- | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2022-11-18_13h16_57.png)