DRAGOPS
DRAGOPS
DocumentationNode libraryString

String

Text manipulation, search, formatting, regular expressions, and string building nodes.

String nodes handle text processing — concatenation, splitting, searching, formatting, and regular expressions. They are essential for parsing API responses, building messages, and extracting data from unstructured text.

All String nodes are pure (blue header, no execution pins).


Concat

Concatenate two strings.

PinDirectionTypeDescription
AInputStringFirst string
BInputStringSecond string
ResultOutputStringA followed by B

Pure. Use Concat to build messages, URLs, or any combined text from parts.


String Length

Get the character count of a string.

PinDirectionTypeDescription
ValueInputStringThe string to measure
LengthOutputIntegerNumber of characters

Pure. Use String Length to validate input lengths or check for empty strings.


Split

Split a string into an array using a separator.

PinDirectionTypeDescription
ValueInputStringThe string to split
SeparatorInputStringThe delimiter to split on
ResultOutputArrayArray of substrings

Pure. Use Split to parse comma-separated values, break paths into segments, or tokenize text.


Join

Join an array of values into a single string with a separator.

PinDirectionTypeDescription
ArrayInputArrayThe array to join
SeparatorInputStringDelimiter between elements (default: ", ")
ResultOutputStringCombined string

Pure. Use Join to format lists for display — combining IP addresses, usernames, or tags into a readable string.


Replace

Replace all occurrences of a substring with another string.

PinDirectionTypeDescription
ValueInputStringThe source string
SearchInputStringSubstring to find
ReplacementInputStringReplacement text
ResultOutputStringString with replacements applied

Pure. Use Replace for simple text transformations — masking sensitive data, normalizing formats, or cleaning input.


Substring

Extract a portion of a string by position and length.

PinDirectionTypeDescription
ValueInputStringThe source string
StartInputIntegerStarting index (default: 0)
LengthInputIntegerNumber of characters to extract
ResultOutputStringThe extracted substring

Pure. Use Substring to extract fixed-position fields — date portions, log prefixes, or protocol headers.


Contains

Check if a string contains a substring.

PinDirectionTypeDescription
ValueInputStringThe string to search
SearchInputStringThe substring to look for
ResultOutputBooleanTrue if the substring is found

Pure. Use Contains for simple pattern detection — checking if a response body contains an error message or a header contains a token.


Starts With

Check if a string starts with a given prefix.

PinDirectionTypeDescription
ValueInputStringThe string to check
PrefixInputStringThe expected prefix
ResultOutputBooleanTrue if Value starts with Prefix

Pure. Use Starts With to classify strings by prefix — URLs starting with "https://", log lines starting with "ERROR".


Ends With

Check if a string ends with a given suffix.

PinDirectionTypeDescription
ValueInputStringThe string to check
SuffixInputStringThe expected suffix
ResultOutputBooleanTrue if Value ends with Suffix

Pure. Use Ends With to check file extensions, domain suffixes, or line terminators.


To Upper

Convert a string to uppercase.

PinDirectionTypeDescription
ValueInputStringThe string to convert
ResultOutputStringUppercase version

Pure. Use To Upper for case-insensitive comparison prep or formatting display values.


To Lower

Convert a string to lowercase.

PinDirectionTypeDescription
ValueInputStringThe string to convert
ResultOutputStringLowercase version

Pure. Use To Lower for normalizing email addresses, domain names, or lookup keys.


Trim

Remove leading and trailing whitespace from a string.

PinDirectionTypeDescription
ValueInputStringThe string to trim
ResultOutputStringTrimmed string

Pure. Use Trim to clean user input, API responses, or parsed data that may have extra whitespace.


Index Of

Find the position of a substring within a string. Returns -1 if not found.

PinDirectionTypeDescription
ValueInputStringThe string to search
SearchInputStringThe substring to find
StartInputIntegerPosition to start searching from (default: 0)
IndexOutputIntegerPosition of the first match, or -1

Pure. Use Index Of to locate specific content within text — finding delimiters or markers.


Format

Template string interpolation. Replaces placeholders in a template with values.

PinDirectionTypeDescription
TemplateInputStringThe template string with placeholders
ResultOutputStringInterpolated result

Pure. Use Format to build structured messages — alert notifications, API payloads, or log entries with dynamic values.


Pad

Pad a string to a target length with a specified character.

PinDirectionTypeDescription
ValueInputStringThe string to pad
LengthInputIntegerTarget length
Pad CharInputStringCharacter to pad with (default: space)
SideInputStringWhere to pad: "start" or "end" (default: "start")
ResultOutputStringPadded string

Pure. Use Pad for fixed-width formatting — zero-padding IDs, aligning columns, or building fixed-length records.


Repeat

Repeat a string N times.

PinDirectionTypeDescription
ValueInputStringThe string to repeat
CountInputIntegerNumber of repetitions (default: 2)
ResultOutputStringRepeated string

Pure. Use Repeat to generate separators, padding strings, or repeated patterns.


Regex Match

Match a string against a regular expression and return the match details.

PinDirectionTypeDescription
ValueInputStringThe string to match
PatternInputStringRegular expression pattern
FlagsInputStringRegex flags (default: empty)
MatchOutputObjectMatch result with match, groups, and index fields

Pure. Use Regex Match to extract structured data from text — IP addresses from logs, version numbers from strings.


Regex Replace

Replace text using a regular expression pattern.

PinDirectionTypeDescription
ValueInputStringThe source string
PatternInputStringRegular expression pattern
ReplacementInputStringReplacement text
FlagsInputStringRegex flags (default: "g")
ResultOutputStringString with replacements applied

Pure. Use Regex Replace for advanced text transformations — redacting sensitive fields, normalizing formats, or stripping markup.


Regex Test

Test if a regular expression matches a string. Returns a boolean.

PinDirectionTypeDescription
ValueInputStringThe string to test
PatternInputStringRegular expression pattern
FlagsInputStringRegex flags (default: empty)
ResultOutputBooleanTrue if the pattern matches

Pure. Use Regex Test for pattern validation — checking if a string is a valid email, IP address, or UUID format.


Regex Split

Split a string using a regular expression as the delimiter.

PinDirectionTypeDescription
ValueInputStringThe string to split
PatternInputStringRegular expression pattern
FlagsInputStringRegex flags (default: empty)
ResultOutputArrayArray of substrings

Pure. Use Regex Split to tokenize text with complex delimiters — splitting on multiple whitespace characters or mixed separators.


  • Comparison — compare string values for equality
  • Encoding — encode/decode strings to Base64, URL, or hex
  • Data Formats — parse and generate CSV, XML, YAML

On this page