Replacing String Characters
  • 17 Oct 2022
  • 1 Minute to read
  • Dark
    Light

Replacing String Characters

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.9.2
Root FolderExample Lab - Replacing String Characters
Modules None
DependenciesNone

This Example Lab project demonstrates how to replace a specified character or characters with any other specified character(s).


Explanation

This Example Lab project works by utilizing the Replace Text step. The Replace Text step works by taking in the original string, what character(s) that need to be replaced, and what character(s) to replace them with. In this example, this input process is simplified by using a Form to gather user input for each required part of the Replace Text step. By default, the Forms textboxes are populated with an example text replacement but can be changed to any other user input desired. Once the Replace Text step has run and completed, the output is passed on to the last Form which will display the original and altered text side by side.

Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.9.2 or later using our Importing/Exporting article.





Was this article helpful?