Ask AI
Skip to main content

Map to lowercase

Function: Map to lowercase

This action takes a list of text items and converts every item in that list to its lowercase equivalent. It's useful for standardizing data, preparing text for comparisons, or ensuring consistent display across your application.

Input

  • List to Convert: This is the list of text items you want to transform. Each item in this list will be converted to lowercase. This input is required.

Output

  • Converted List: This is the new list where all the original text items have been converted to lowercase.

Execution Flow

Real-Life Examples

Here are some practical ways you can use the "Map to lowercase" function in your application:

Example 1: Standardizing Product Tags

Imagine you have a list of product tags entered by different users, and you want to ensure they are all in a consistent format for searching and filtering.

  • Inputs:
    • List to Convert: ["Electronics", "HOME GOODS", "Outdoor", "SALE Items"]
  • Result: The action will produce a new list: ["electronics", "home goods", "outdoor", "sale items"]. This standardized list can then be used for consistent filtering or display.

Example 2: Preparing User Input for Comparison

When users enter search terms or categories, you might want to convert their input to lowercase to match against a database of lowercase values, ensuring that "Apple" matches "apple".

  • Inputs:
    • List to Convert: ["Search Term", "Category Name", "User Input"]
  • Result: The action will produce a new list: ["search term", "category name", "user input"]. This lowercase list can then be used to perform case-insensitive searches or comparisons.

Example 3: Cleaning Data from an External Source

You've imported a list of city names from an external system, and some are capitalized inconsistently. You want to clean this data before storing it or displaying it.

  • Inputs:
    • List to Convert: ["NEW YORK", "london", "Paris", "TOKYO"]
  • Result: The action will produce a new list: ["new york", "london", "paris", "tokyo"]. This cleaned list ensures all city names are uniformly formatted.