> For the complete documentation index, see [llms.txt](https://docs.tabula.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tabula.io/data-transformation/formulas/string-functions/compare.md).

# Compare

Compares two string values

```mathematica
Compare("text1", "Text1", true) → false 
Compare("Mac", "Mac") → true
```

#### Inputs

`Compare(string1, string2, [isCaseSensitive])`

* `string1` - The first string to compare with
* `string2` - The second string to compare with
* `[isCaseSensitive]` - **\[optional**: `true` by default\*\*]\*\* - Set `false` if the search should be case **insensitive**
