StringUtils
A collection of reusable actions concerning 'Strings'.
Community Commons series
Community Commons is a series of modules for and by the community extending the low-code capabilities of the Mendix Platform.
Contributing
For more information on contributing to this repository visit Contributing to a GitHub repository!
Microflow Activities (Java actions exposed as microflows)
Available microflow activities to use in your microflows String utility activities
- Base 64 - Decode Base64 string
- Base 64 - Encode to Base64 string
- Create a random alphanumeric string
- Create a random strong password
- Create hash value (SHA-256)
- Create hash value using a key (HMAC_SHA256)
- Create random UUID
- HTML - Escape HTML string
- HTML - Sanitize user input to prevent XSS
- HTML - Strip HTML
- RegEx - Convert string to RegEx literal
- RegEx - Is match
- RegEx - Replace all occurences
- String - Decrypt
- String - Encrypt
- String - Left pad
- String - Right pad
- String - Length
- String - Remove whitespace (Trim)
- String - Substring before
- String - Substring before last
- String - Substring after
- String - Substring after last
Business rules
- IsEmptyString
- IsNotEmptyString
Dependencies
- owasp-java-html-sanitizer.jar
- org.apache.commons.lang3-12.0.jar
- org.apache.commons.io-2.8.0.jar
- com.google.guava-30.1.1.jar