# Data Types \ String \ Variable

---

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

With this string variable node a user can set a string variable by Value or Expression.

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

Using this node a string variable is set by value, as shown in the example below. The **Greeting** variable is set using string input node with "**Good day sir!**"

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

#### Example

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


#### [![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/U5mimage.png) ](https://simlab-soft.com/help/uploads/images/gallery/2025-09/U5mimage.png)Set String Variable By Expression 

Using this node a string variable is set by expression, as shown in the example below. The **Name** variable is set using an expression input node with string.lower() expression.

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

#### Example

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


---

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

![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/Ro1image.png)This node is used to get a string variable value. As shown in the example below, the string variable **Greeting** is gotten as input to this node.

#### Example

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