Home
Turium Algoreus
Turium Algoreus
  • Turium Algoreus Documentation
    • Turium Algoreus Overview
      • How to Guides
        • Axons (Pipeline) User Guide
          • Algoreus Genesis
          • Algoreus Node
          • Steps for a simple batch Axon in Algoreus
          • Configuring Axon in Algoreus
          • Deploying an Axon in Algoreus
          • Running an Axon in Algoreus
          • Viewing and downloading logs in the Genesis in Algoreus
          • Scheduling an Axon in Algoreus
          • Reusable Axons in Algoreus
          • Using Triggers in Algoreus
          • Working with multiple versions of the same node in Algoreus
          • Modifying a draft Axon in Algoreus
          • Editing a deployed Axon in Algoreus
          • Duplicating An Axon in Algoreus
          • Deleting an Axon in Algoreus
          • Deploying nodes from the Algoreus Hub
          • Using node templates in Algoreus
          • Exporting and importing Axons in Algoreus
          • Dynamic resource configuration in Algoreus
          • Working with namespaces in Algoreus
        • Soma (Transformation) User Guide
          • Algoreus Soma Overview
          • Algoreus Soma Concepts
          • Algoreus Soma UI components
          • Working with multiple datasets
          • Navigating between Soma and Algoreus Genesis
          • Editing a transformation created in the Soma
          • Soma data types
          • Working with connections in Soma
          • Parsing a CSV file
          • Strings Formatting
          • Sending records to error
          • Working with numbers in Soma
          • Working with Decimal types in Soma
          • Performing date transformations in Soma
          • Filtering records
          • Finding and replacing values in a column
          • Filling null or empty cells
          • Copying, deleting, and keeping columns
          • Renaming a column
          • Joining two columns
          • Swapping two column names
          • Extracting fields to retrieve values
          • Exploding fields
          • Masking data
          • Encoding records to store or transfer data
          • Decoding records to store or transfer data
          • Applying a Hashing algorithm to a column
          • Upgrading the Soma transformation node version
          • Viewing and downloading a schema in Soma
          • Viewing Soma Service logs
        • Cerebellum (Operations and Monitoring) User Guide
          • Logging and Monitoring
          • Metrics
          • Dashboard and Reports
          • Preferences and Runtime Arguments
          • Transaction Service Maintenance
        • Engram (Metadata) User Guide
          • System Metadata
          • Discovery and Lineage
          • Audit Logging
          • Metadata Management
          • Accessing Metadata Programmatically
          • Metadata Field-Level Lineage
        • Clone (Replication) User Guide
          • Cloning overview
          • Clone Concepts
          • Adding Transformations to a Cloning Job
          • Deleting a Cloning Job
          • Tutorial: Cloning data from Oracle Database to BigQuery
        • Algology (Visualisation) User Guide
          • Dashboards
            • Using Dashboards
            • Building Dashboards
            • Manage dashboards
            • Publishing Dashboard
            • Playlist
            • Create and manage reports
            • Share dashboards and panels
            • Access Dashboard Usage
            • Search Dashboards
          • Panel Editor
            • Configure Panel Options
            • Configure standard options
          • Visualisations
            • Alert List
            • Bar Chart
            • Bar Gauge
            • Candlestick Panel
            • Canvas
            • Dashboard List
            • Flame Graph
            • Gauge
            • Heatmap
            • Histogram
            • Logs
            • Node Graph
            • Traces Panel
            • Pie Chart
            • State Timeline
            • Stat Panel
            • Time series
            • Trend Panel
            • Text Panel
            • Table
            • GeoMap
            • Datagrid Panel
            • Status history
            • Annotations
          • Explore
            • Logs in Explore
            • Queries in Explore
            • Tracing in Explore
            • Inspector in Explore
    • Turium Algoreus Connectors
Powered by GitBook
On this page
  • Changing the Case of Strings
  • Concatenating Strings
  • Trimming Extra White Spaces from Strings

Was this helpful?

  1. Turium Algoreus Documentation
  2. Turium Algoreus Overview
  3. How to Guides
  4. Soma (Transformation) User Guide

Strings Formatting

PreviousParsing a CSV fileNextSending records to error

Last updated 1 year ago

Was this helpful?

In Algoreus, for columns of string data type, you can conveniently alter the case of strings, concatenate strings, and trim whitespace from strings using a point-and-click menu.

To format a String column, follow these steps:

  1. Click the dropdown button next to the column name.

  2. Click 'Format', and then choose the transformation you want to perform.

Your column values are updated to the chosen format. Algoreus adds the related function, such as 'uppercase', to the recipe. When you run the axon, the transformation applies to all values in the column.


Changing the Case of Strings

For columns with alphabetical characters, you can modify the case of all fields in a String column to:

  • UPPERCASE

  • lowercase

  • TitleCase

For example, selecting 'Format > lowercase' on a column would change all the strings to lowercase.

Input
Output

BREAD

bread

SalAd

salad

miLK

milk


Concatenating Strings

You can add characters to the beginning or end of each string in a column. Algoreus concatenates the string to all fields in the column, including empty fields and nulls. You also have the option to create a new column with the concatenated strings.

For instance, if you want to add 'NEW-' at the beginning of each string in a column, click 'Format > Concatenate', select 'at the beginning' and enter 'NEW-' in the 'Add' box. The output might look like:

Input
Output

bread

NEW-bread

salad

NEW-salad

milk

NEW-milk

Before you concatenate strings, you may want to filter null values and blanks.

If you concatenate 'NEW-' at the start of each field, Algoreus appends 'NEW-' to all fields, including blanks and nulls:

Input
Output

NEW-

bread

NEW-bread

salad

NEW-salad

milk

NEW-milk

null

NEW-null


Trimming Extra White Spaces from Strings

In Algoreus, you can trim leading (ltrim), trailing (rtrim), or both leading and trailing white space (trim) from all strings in a column.

For instance, if the 'Item' column has fields with excess leading whitespace, you can remove this leading whitespace by selecting 'Format > Trim Leading Whitespace'.


Changing the Case of Strings
Concatenating Strings
Trimming Extra White Spaces from Strings