# Convert to Lowercase

This is a pre-built Action located under the **@Generic Element**. The functionality of this Action in Avo Assure is to change the given text to lowercase letters. The converted text is stored in a dynamic variable.

## **Syntax**

**Input Value**: `<input string>`&#x20;

| Argument                             | Description                                                 |
| ------------------------------------ | ----------------------------------------------------------- |
| <p>\<input string><br>(Required)</p> | Provide the string that needs to be converted to lowercase. |

**Output Value**: `<Dynamic Variable>;<Dynamic Variable>(Optional)`&#x20;

| Argument                                  | Description                                                                                            |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| <p>\<Dynamic Variable><br>(Required)</p>  | This dynamic variable holds the converted lowercase string.                                            |
| <p>\<Dynamic Variable><br>(Optional) </p> | <p>This dynamic variable stores the status as <strong>True</strong><br> or <strong>False</strong>.</p> |

### **Example: Converting a String to Lowercase**

In this example, we explain how to convert a given string into lowercase letters.

* **Action**: Convert to Lower Case
* **Input Value**: ALICE JOHNSON
  * This specifies the string (**ALICE JOHNSON**) that need to convert into lowercase.
* **Output Value**: {Lowercase string}
  * The converted string (alice johnson) is stored in this **{Lowercase string}** dynamic variable for further use.
  * If the second output variable is defined, it stores the operation status with the following possible values:
    * **True**: If the conversion is successful.
    * **False**: If the conversion fails due to invalid input.
* **Logical Explanation**: The **Convert to Lower Case** action fetches the value from the **Input Value** column (**ALICE JOHNSON**) and converts it into lowercase (alice johnson). The converted string is then stored in the **{Lowercase string}** variable.

<figure><img src="/files/RRftcUIAioyWsuU8AM0N" alt=""><figcaption></figcaption></figure>

#### **Knowledge Bites:**&#x20;

Here are some examples of different string scenarios:

| String                        | Input Value         | Result              |
| ----------------------------- | ------------------- | ------------------- |
| Text Strings                  | AUTOMATION          | automation          |
| Already in Lowercase          | empid               | empid               |
| Special Character and Numbers | <ABC324@DOMAIN.COM> | <abc324@domain.com> |
| Alphanumeric strings          | ID2025              | id2025              |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/generic/string-operations/convert-to-lowercase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
