String

Stable Version 1.1.0 (OutSystems 10)
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 (1)
25 Jan
in version 1.1.0
Very useful !
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
No consumers yet.
Weekly Downloads 
Related Components
Discovery
Architecture Team
A tool to discover and measure your architecture and understand how to improve
3465
OutSystems Now
OutSystems R&D
OutSystems Now brings your OutSystems experience to any device.
9158
Infosistema DMM
Infosistema Solutions
Infosistema Data Migration Manager (DMM) - With DMM you reduce costs by saving hundreds of hours building custom scripts, increase quality and allow unprecedented flexibility in managing your data. DMM enables data migration across OutSystems environments or servers (v9 or v10) using a simple user interface without the need of building custom scripts. It also supports features like data anonymization and data scramble, essential to comply with GDPR.
348
More from Rui Lopes
Simple Chat
Rui Lopes
A simple chat widget for your site.
461
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.
17