# Data Types \ String \ Compare

---

### [![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/SM6image.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/SM6image.png) Equal (String) 

A compare node that takes two input strings and compares them if equal or not. [![jxPimage.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/jxpimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/jxpimage.png)

####   


####   


####   


#### Example

In the example below, two not equal strings has been input to this node, thus the output result would be false. The output is used as an input to Show/Hide node for a sphere, that won't be shown in this case.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/asNimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/asNimage.png)


---

### [![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/ycFimage.png) ](https://simlab-soft.com/help/uploads/images/gallery/2025-09/ycFimage.png)Not Equal

Contrary to the previous node this one compares

two input strings for not being equal.[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/uhbimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/uhbimage.png)

#### Example

In the example below, two equal strings has been input to this node, thus the output result would be false. The output is used as an input to Show/Hide node for a sphere. In this case the sphere will be shown.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/Renimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/Renimage.png)