Skip to main content
The String Manipulation command (Command Type: 1003) performs JavaScript string method operations on a specific field across all objects in a collection.

Overview

The String Manipulation command provides functionality for:
  • Applying any JavaScript string method (e.g. toUpperCase, trim, slice, padStart) to a field
  • Operating across every object in the current collection
  • Passing custom arguments to the string method

Command Type

Command Type ID: 1003

Parameters

Usage Examples

Convert to Uppercase

Trim Whitespace

Slice a String

Pad a String

Replace a Substring

Common Use Cases

  • Normalization: Trim whitespace or convert case across all records
  • Formatting: Pad IDs or codes to a fixed length
  • Data Cleaning: Remove or replace known bad substrings from a field
  • Regex - Apply regex-based transformations to string fields
  • String Split - Split a string field into an array
  • Key Mapping - Rename fields after manipulation