String
Stable Version 1.1.0
Published on 27 December 2017 by 
Created on 17 December 2017
Details
Extension for manipulating strings - adapted from the 'string' command available in the Tcl programming language. See the Details tab to check on the available actions.
Read More

The actions and input/output parameters in the extension are documented so you can read their detailed descriptions once published. Below you can find the available actions and a hint on their functionality:

  • Compare: Lexicographic comparison of 2 strings
  • Equal: Char-by-char comparison of 2 strings 
  • First: Find first occurrence of a string inside another
  • Last: Find last occurrence of a string inside another
  • Map: Given a list of <key value> structures and a string, map all 'key' substrings into 'value' substrings
  • IsClass: Check if a string belongs to a certain class (alpha, alpha-num, hex, boolean, whitespace, double, etc)
  • Join: Joins all strings in a list with a specified separator string
  • Range: Retrieve the substring between 2 indexes
  • Remove: Remove the substring between 2 indexes (optionally, replace it with another string)
  • Repeat: Create a new string by repetition
  • Reverse: Reverse a string
  • Split: Uses a list of separators to split a string into a list
  • ToTitle: Maps a string into title-case 
  • TrimBoth: Trim a string at both ends
  • TrimLeft: Trim a string at its beginning
  • TrimRight: Trim a string at its tail

I have performed unit tests on each action but, if you find any errors, please let me know (in the Support tab) so I can correct them.

What’s new (1.1.0)

In this version 3 new functions have been added:

  • Split
  • Join
  • ToTitle
Reviews (0)
Category
Developer Tools
Tags
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Rui Lopes who created this component.
Dependencies
String has no dependencies.
Requirements
Platform
10.0.0.402
Database
All
Stack
.NET
Component Consumers
String has no consumers.
Weekly Downloads 
Related Components
Discovery
Architecture Team
A tool to discover and measure your architecture and understand how to improve
2989
OutSystems Now
OutSystems R&D
OutSystems Now brings your OutSystems experience to any device.
7157
OnTrack
Labs
The OnTrack open source application template offers powerful, yet simple, project tracking and collaboration, to support fast continuous delivery of your applications. Integration with OutSystems App Feedback allows end-to-end follow-up by the project teams on new requests and issues reported by your users. Pick this pre-built app and customize it at will to fit your specific delivery process. Watch a quick overview video of OnTrack .
1018
More from Rui Lopes
Simple Chat
Rui Lopes
A simple chat widget for your site.
435
DB Image Cache
Rui Lopes
This module provides basic cache-control mechanisms for applications which serve images stored in the database. Albeit its simplicity, it should cover the majority of all use cases.