# Data Types \ String \ Operations

---

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

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

This node can be used to add two strings to each other.

In the below example a **Score** string variable is input to this node, along with **My Score is** string filled in. The result is input to a Set String Variable node, into another string variable name **MyScore** which is linked to a Variable Writer in the scene to be displayed.

#### Example

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

---

### [![Response_Value_Number_Add.png](https://simlab-soft.com/help/uploads/images/gallery/2024-08/scaled-1680-/response-value-number-add.png)](https://simlab-soft.com/help/uploads/images/gallery/2024-08/response-value-number-add.png) Find

[![Add_Node.jpg](https://simlab-soft.com/help/uploads/images/gallery/2025-04/scaled-1680-/5iZimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2024-08/add-node.jpg)The "**Find**" node is used to search for a specific word, group of letters, or substring within a larger sentence or string value. If the specified text is found, the node returns the number of characters from the beginning of the string to the start of the found text. If the specified text is not found, the node returns -1. This allows users to detect and locate specific content inside a string.

#### Example

[![Add_Example2.jpg](https://simlab-soft.com/help/uploads/images/gallery/2025-04/scaled-1680-/852image.png)](https://simlab-soft.com/help/uploads/images/gallery/2024-08/add-example.jpg)

In this example, the **Find node** is used to search for the word "apple" in a string variable with the initial value "I like apple pie." When the user triggers the object, the Variable with Initial node retrieves the string, and the Find node looks for the word "apple." The resulting index is then stored in a number variable named "Value" using the Set Number Variable node, which can then be connected to a Variable Writer to display the result during the VR experience. If "apple" is found, the Value variable stores the position where "apple" starts in the sentence. If not found, the Value variable is set to -1.

---

### [![Response_Value_String_LowerCase.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/response-value-string-lowercase.png) ](https://simlab-soft.com/help/uploads/images/gallery/2025-09/response-value-string-lowercase.png)Lower Case

The "**Lower Case**" can be used to ![EI7image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/ei7image.png)covert an upper case string to lower case, as shown in the example below.

In this example the string "SIMLAB SOFT" is input inside this node, which is executed when **Activate** scene node is triggered. This will result in updating the valued of LowerCaseName string variable to be simlab soft.

#### Example

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

---

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

**Replace** node can be used to replace specific **Target[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/2yoimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/2yoimage.png)** text string from a **Source** text string with the **Replacement** string.

In the below example the node is executed upon clicking **Activate** node, and has three string inputs. Source which is main string "Hello Name". Target string which is "Name", and Replacement string which is Samia.

The Result greeting from this will be "Hello Samia".

#### Example

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

---

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

This node returns the length of a given string.

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

In the example below the node is triggered by

clicking **Activate** geometry, and it's filled with a long paragraph string. The length result is stored in variable **Result** in the **Set Number Variable** node.

#### Example

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


---

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

Contrary to the "**Lower Case**" node this node coverts a loser case string to upper case, as shown in the example below.[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/8F5image.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/8F5image.png)

In this example the string "simlab soft" is input inside this node, which is executed when **Activate** scene node is triggered. This will result in updating the valued of UpperCaseName string variable to be SIMLAB SOFT.

####   


#### Example

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