Text Transformations

Content Type: Module
Categories: Utility,Communication

Overview

Text Transformations is a lightweight and reusable Mendix module that provides essential Java actions for string formatting and manipulation. Perfect for developers who need to clean, format, or standardize text within microflows.

Features:

  • Convert text to camelCase

  • Capitalize the first letter of a string

  • Capitalize the first letter of each word

  • Transform text to lowercase or uppercase

  • Simple input/output: all actions take and return a String

Documentation

Documentation: Text Transformations Module

------------------------------------------

Overview

--------------

Text Transformations is a utility module containing Java actions for common string formatting operations. It allows developers to easily manipulate string inputs in microflows using actions like camel case conversion, capitalization, and case formatting.

 

Requirements

---------------------

- Mendix Version: 10.6.5 or higher

- External Libraries: None

- License: MIT License

- Category: Utilities → Text / String

 

Configuration

--------------------

No special configuration is required. Simply import the module and call the Java actions within your microflows or nanoflows.

 

Included Java Actions

--------------------------------

| Name              | Description                                                           | Input Type | Output Type |

|---------------------|------------------------------------------------------------------|-------------------|--------------------|

| camelCase     | Converts the string to camelCase format     | String           | String            |

| capitalize        | Capitalizes only the first letter                        | String           | String            |

| capitalizeWords   | Capitalizes the first letter of each word | String           | String            |

| toLowerCase       | Converts the string to all lowercase         | String           | String            |

| toUpperCase       | Converts the string to all uppercase        | String           | String            |

 

Usage Instructions

-----------------------------

1. Import the module into your Mendix project.

2. Use any of the available Java actions in your microflow.

3. Pass a string as input and use the returned string as needed.

 

Example:

-------------

Input:  "hello world"

Action: capitalizeWords

Output: "Hello World"

 

Testing

----------

Each action has been tested with edge cases such as:

- Empty strings- Mixed case input

- Strings with special characters or spaces

 

License

-----------

This module is distributed under the MIT License, allowing commercial and personal use with minimal restrictions.

Releases

Version: 1.0.0
Framework Version: 10.6.5
Release Notes: Release Notes Version 1.0.0 — Initial Release (April 2025) This is the first release of the Text Transformations module. It includes the following Java actions for basic string manipulation: ✅ camelCase: Converts input string to camelCase ✅ capitalize: Capitalizes the first character of the string ✅ capitalizeWords: Capitalizes the first letter of each word in a string ✅ toLowerCase: Converts all characters to lowercase ✅ toUpperCase: Converts all characters to uppercase ✅ Key Highlights: One string input and string output per action No external dependencies Optimized for microflow usage Compatible with Mendix 10.6.5 and above This module is designed for ease of use and rapid integration into existing apps. Future versions may include support for trimming, regex-based cleanup, or multilingual transformations.