String Operations: Playbook

String Operations

Minimum ThreatConnect Version

7.2.0

Release Notes

2.0.6 (2026-05-18)

  • APP-5208 - Added optional "Interpret Escape Sequences" inputs to the Append, Prepend, Replace, and Split String actions, allowing escape sequences such as \n, \t, and \ to be used in the action's character/delimiter input.

2.0.5 (2025-12-11)

  • ESUP-3928 - String Operations NOT Handling Global Variable; upgrade to tcex 4.0.10

2.0.4 (2025-07-24)

  • APP-4889 - Upgrade to tcex 4.0.9 to better parse TEXT

2.0.3 (2025-05-24)

  • APP-4713 - Added Camel to Snake case, and Snake to Camel case new actions

2.0.2 (2023-11-27)

  • Added support for secure Redis (SSL and User/Pass)

2.0.1 (2023-08-30)

  • APP-3953 Added Defang Indicator Action
  • APP-3953 Added Refang Indicator Action
  • Updated App to use TcEx 4 / Python 3.11

2.0.0 (2022-12-06)

  • APP-3774 Add new field so append field is not required for truncate action
  • Update to latest tcex

1.0.9 (2022-04-12)

  • APP-3490 Fixed issue with "Append" action input name not being correct.

1.0.8 (2022-03-30)

  • APP-3465 Fixed issue with "Strip Characters" being required.

1.0.7 (2022-03-25)

  • APP-3250 Update to tcex 3.0

1.0.6 (2021-12-07)

  • APP-3136 Support converting HTML into plaintext
  • Bring up to latest template files

1.0.5 (2021-10-21)

  • APP-2055 Added UUID4 Action
  • APP-2055 Added UUID5 Action

1.0.4 (2021-01-05)

  • Added description in notes for each action

1.0.3 (2021-01-05)

  • APP-1458 Added Set Variable Action

1.0.2 (2020-08-22)

  • Added Truncate Action
  • Added IsEqual Action

1.0.1 (2019-09-25)

  • Changed "Replace New Character(s)" field for Replace operation to not be required and default to empty string
  • Updated tcex to version 1.0.0

1.0.0

  • Initial Release

Category

  • Utility

Description

This app takes a String or StringArray and performs operations on each value, returning the updated value(s). For a StringArray, all operations are performed on the individual strings, not on the array itself (e.g., Length will return the length of each string in the array, not the length of the array). Each operation requires its own set of valid inputs in order to function properly (e.g., Convert to Hex requires an integer to be provided).

The following actions are included:

  • Append - Append to the end of input(s).

  • Capitalize - Capitalize all characters of input(s).

  • Camel To Snake Case - Convert input(s) from camel case to snake case.

  • Camel To Pascal Case - Convert input(s) from camel case to pascal case.

  • Camel To Space Case - Convert input(s) from camel case to space case.

  • Convert from Base64 - Convert base64 input(s) to string.

  • Convert to Base64 - Convert string input(s) to base64.

  • Convert from Domain to IDNA - Convert domain input(s) to IDNA format.

  • Convert from IDNA to Domain - Convert IDNA formatted input(s) to domain.

  • Convert from Domain to Punycode - Convert domain input(s) to punycode format.

  • Convert from Punycode to Domain - Convert punycode formatted input(s) to a domain.

  • Convert from Float to Hex - Convert float input(s) to hex.

  • Convert from Hex to Float - Convert hex input(s) to float.

  • Convert from Int to Hex - Convert integer input(s) to hex.

  • Convert from Hex to Int - Convert hex input(s) to integers.

  • Convert from HTML to Plaintext - Strip HTML from input, leaving just plaintext.

  • Convert from ROT 13 - Convert (decipher) rot 13 input(s).

  • Convert to ROT 13 - Convert (cipher) rot 13 input(s).

  • Count - Count the number of characters in input(s).

  • Defang - Return a neutralized form of an input that will not be malicious.

  • Ends With - Return "true" if input(s) end with provided characters, else "false".

  • Find - Return search search index for the provided input characters.

  • Generate MD5 Hash - Return md5 hash of the provided input(s).

  • Generate SHA1 Hash - Return sha1 hash of the provided input(s).

  • Generate SHA256 Hash - Return sha256 hash of the provided input(s).

  • Is Alphabet - Return "true" if input(s) characters are alphabetic, else "false".

  • Is Alphanumeric - Return "true" if input(s) characters are alphanumeric, else "false".

  • Is Ascii - Return "true" if input(s) characters are ascii, else "false".

  • Is Decimal - Return "true" if input(s) characters are decimal, else "false".

  • Is Digit - Return "true" if input(s) characters are digit, else "false".

  • Is Empty - Return "true" if input(s) is an empty string, else "false".

  • Is Equal - Return "true" if input string(s) match compare input, else "false".

  • Is Float - Return "true" if input(s) is a float, else "false".

  • Is In - Return "true" if input characters are in input(s) string, else "false".

  • Is Lowercase - Return "true" if input(s) is lowercase, else "false".

  • Is Null - Return "true" if input(s) is null, else "false".

  • Is Numeric - Return "true" if input(s) characters are numeric, else "false".

  • Is Titlecase - Return "true" if input(s) is titlecase, else "false".

  • Is Uppercase - Return "true" if input(s) is uppercase, else "false".

  • Length - Return the character length of input(s).

  • Lowercase - Lowercase all characters of input(s).

  • Not Empty - Return "true" if input(s) is NOT an empty string, else "false".

  • Not In - Return "true" if input characters are NOT in input(s) string, else "false".

  • Not Null - Return "true" if input(s) is NOT null, else "false".

  • Prepend - Prepend provided characters to input(s).

  • Refang - Refang a defanged input(s).

  • Replace - Replace characters with provided replacement characters in input(s).

  • Reverse - Reverse characters in input(s).

  • Set Variable - Set dynamic variables.

  • Slice - Slice input(s) based on provide start, stop, and step values.

  • Split String - Split input(s) on provided delimiter.

  • Snake To Camel Case - Convert input(s) from snake case to camel case.

  • Snake To Pascal Case - Convert input(s) from snake case to pascal case.

  • Snake To Space Case - Convert input(s) from snake case to space case.

  • Starts With - Return "true" if input(s) starts with provided characters, else "false".

  • Strip - Remove whitespace from input(s).

  • Strip Beginning - Remove whitespace for beginning of input(s).

  • Strip End - Remove whitespace for end of input(s).

  • Swap Case - Swap the case of input(s).

  • Truncate - Truncate input(s), optionally appending characters to the results.

  • Titlecase - Uppercase the first character of input(s).

  • Wrap - Append and prepend characters to input(s).

  • Uppercase - Uppercase all characters of input(s).

  • URL Encode - URL encode input(s).

  • URL Decode - URL decode input(s).

  • UUID4 - Generate a version 4 UUID.

  • UUID5 - Generate a version 5 UUID using name and namespace inputs.

Actions


Append

Append to the end of input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Append Character(s) (String)

The character(s) to get appended to the provided string(s) (e.g., .pdf).

Interpret Escape Sequences in Appended Character(s) (Boolean)

When checked, Python-style escape sequences in Append Character(s) (such as \n, \r, \t, \, or \uXXXX) are interpreted as the characters they represent instead of being treated as literal text.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Capitalize

Capitalize all characters of input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Camel to Snake Case

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Camel to Pascal Case

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Camel to Space Case

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from Base64

Convert base64 input(s) to string.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert to Base64

Convert string input(s) to base64.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from Domain to IDNA

Convert domain input(s) to IDNA format.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from IDNA to Domain

Convert IDNA formatted input(s) to domain.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from Domain to Punycode

Convert domain input(s) to punycode format.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from Punycode to Domain

Convert punycode formatted input(s) to a domain.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from Float to Hex

Convert float input(s) to hex.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from Hex to Float

Convert hex input(s) to float.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from Int to Hex

Convert integer input(s) to hex.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from Hex to Int

Convert hex input(s) to integers.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from HTML to Plaintext

Strip HTML from input, leaving just plaintext.

Inputs

Configure

HTML Input (String)

If using TCEntity, it must be of type Document, Report or Email. For Document and Report, the attached file's content will be used as input; for Email the email body content will be used as input.

Allows: String, StringArray, TCEntity, TCEntityArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert from ROT 13

Convert (decipher) rot 13 input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Convert to ROT 13

Convert (cipher) rot 13 input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Count

Count the number of characters in input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Count Character(s) (String)

The character(s) for which to get a count in the provided string(s) (e.g., bad.exe).

Count Start (String, Optional, Default: 0)

The 0-based index position at which to start the count. The start position can be used to skip the first n characters before starting the count.

Count Stop (String, Optional)

The 0-based index position at which to stop the count. The stop position can be used to stop the count after n characters.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Defang

Return a neutralized form of an input that will not be malicious.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Ends With

Return "true" if input(s) end with provided characters, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Ends With Character(s) (String)

The character(s) to check for in the provided string(s) (e.g., .exe).

Ends With Start (String, Optional, Default: 0)

The 0-based index position at which to start the Ends With search. The start position can be used to skip the first n characters before starting the search.

Ends With Stop (String, Optional)

The 0-based index position at which to stop the Ends With search. The stop position can be used to stop the search after n characters.

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Find

Return search search index for the provided input characters.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Find Character(s) (String)

The characters to search for in the provided string(s) (e.g., .exe). Returns a 0-based index value for the first occurrence of the character(s).

Find Start (String, Optional, Default: 0)

The 0-based index position at which to start the search. The start position can be used to skip the first n characters before starting the Find operation.

Find Stop (String, Optional)

The 0-based index position at which to stop the search. The stop position can be used to stop the Find operation after n characters.

Fail on Not Found (Boolean)

Fail the app if any value is not found.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Generate MD5 Hash

Return md5 hash of the provided input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Generate SHA1 Hash

Return sha1 hash of the provided input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Generate SHA256 Hash

Return sha256 hash of the provided input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Alphabet

Return "true" if input(s) characters are alphabetic, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Alphanumeric

Return "true" if input(s) characters are alphanumeric, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Ascii

Return "true" if input(s) characters are ascii, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Decimal

Return "true" if input(s) characters are decimal, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Digit

Return "true" if input(s) characters are digit, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Empty

Return "true" if input(s) is an empty string, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Equal

Return "true" if input string(s) match compare input, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Compare String (String)

The string you would like to compare to

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Float

Return "true" if input(s) is a float, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is In

Return "true" if input characters are in input(s) string, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

In Character(s) (String)

The character(s) to check for "in" the provided string(s) (e.g., badsite in www.badsite.com).

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Lowercase

Return "true" if input(s) is lowercase, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Null

Return "true" if input(s) is null, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Numeric

Return "true" if input(s) characters are numeric, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Titlecase

Return "true" if input(s) is titlecase, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Is Uppercase

Return "true" if input(s) is uppercase, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Length

Return the character length of input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Lowercase

Lowercase all characters of input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Not Empty

Return "true" if input(s) is NOT an empty string, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Not In

Return "true" if input characters are NOT in input(s) string, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

In Character(s) (String)

The character(s) to check for "in" the provided string(s) (e.g., badsite in www.badsite.com).

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Not Null

Return "true" if input(s) is NOT null, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Prepend

Prepend provided characters to input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Prepend Character(s) (String)

The character(s) to get prepended to the provided string(s) (e.g., pre-).

Interpret Escape Sequences in Prepended Character(s) (Boolean)

When checked, Python-style escape sequences in Prepend Character(s) (such as \n, \r, \t, \, or \uXXXX) are interpreted as the characters they represent instead of being treated as literal text.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Refang

Refang a defanged input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Replace

Replace characters with provided replacement characters in input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Replace Old Character(s) (String)

The old characters to remove in the provided string(s) (e.g., .exe.

Replace New Character(s) (String, Optional)

The new characters to add in the provided string(s) (e.g, .txt).

Replace Count (String, Optional)

The number of occurrences of Replace Old Characters to replace. Leave the input empty to replace all of the characters.

Interpret Escape Sequences in Replacement (Boolean)

When checked, Python-style escape sequences in Replace New Character(s) (such as \n, \r, \t, \, or \uXXXX) are interpreted as the characters they represent instead of being treated as literal text.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Reverse

Reverse characters in input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Set Variable

Set dynamic variables.

Inputs

Configure

Variables (KeyValueList)

This is a mapping of value to output variable.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Slice

Slice input(s) based on provide start, stop, and step values.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Slice Start (String, Optional)

The 0-based index position at which to start the slice. Leave the input empty if no start value is to be provided.

Slice Stop (String, Optional)

The 0-based index position at which to end the slice. Leave the input empty if no end value is to be provided.

Slice Step (String, Optional, Default: 1)

The step for the slice (e.g., 1 will return each character, 2 will skip every other character, etc.). Leave the input empty ir no step value is to be provided.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Snake to Camel Case

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Snake to Pascal Case

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Snake to Space Case

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Split String

Split input(s) on provided delimiter.

Inputs

Configure

Split On (String)

The value to use as the delimiter.

Interpret Escape Sequences in Delimiter (Boolean)

When checked, Python-style escape sequences in Split On (such as \n, \r, \t, \, or \uXXXX) are interpreted as the characters they represent instead of being treated as literal text.

Split Variable Mapping (KeyValueList)

Split the String and expose the resulting StringArray as an output variable for each String.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Starts With

Return "true" if input(s) starts with provided characters, else "false".

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Starts With Character(s) (String)

The character(s) to check for in the provided string(s) (e.g., https).

Starts With Start (String, Optional, Default: 0)

The 0-based index position at which to start the Starts With search. The start position can be used to skip the first n characters before starting the search.

Starts With Stop (String, Optional)

The 0-based index position at which to stop the Starts With search. The stop position can be used to stop the search after n characters.

Fail on False (Boolean)

Fail the app if any output has a value of false.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Strip

Remove whitespace from input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Strip Characters (String, Optional)

The leading and/or trailing characters to remove from the provided string(s). Leave the input empty to remove leading and/or trailing whitespace. The Strip operation removes leading and trailing characters, the String Beginning operation removes only leading characters, and the Strip End operation removes only trailing characters.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Strip Beginning

Remove whitespace for beginning of input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Strip Characters (String, Optional)

The leading and/or trailing characters to remove from the provided string(s). Leave the input empty to remove leading and/or trailing whitespace. The Strip operation removes leading and trailing characters, the String Beginning operation removes only leading characters, and the Strip End operation removes only trailing characters.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Strip End

Remove whitespace for end of input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Strip Characters (String, Optional)

The leading and/or trailing characters to remove from the provided string(s). Leave the input empty to remove leading and/or trailing whitespace. The Strip operation removes leading and trailing characters, the String Beginning operation removes only leading characters, and the Strip End operation removes only trailing characters.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Swap Case

Swap the case of input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Truncate

Truncate input(s), optionally appending characters to the results.

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Append Character(s) (String, Optional)

The character(s) to get appended to the provided string(s) (e.g., .pdf).

Truncate Length (String, Default: 0)

The number of characters to which you would like to limit the string(s) to.

Truncate on Space (Boolean)

Determine whether or not to truncate on spaces instead of splitting words. ex: 'The Quick Brown Fox' truncated to 12 characters would be 'The Quick Br' with this option it becomes 'The Quick'.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Titlecase

Uppercase the first character of input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Wrap

Append and prepend characters to input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Prepend Character(s) (String)

The character(s) to get prepended to the provided string(s) (e.g., pre-).

Append Character(s) (String)

The character(s) to get appended to the provided string(s) (e.g., .pdf).

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Uppercase

Uppercase all characters of input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

URL Encode

URL encode input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Encode + Symbol (Boolean)

Replace spaces with plus signs, as required for quoting HTML form values when building up a query string to go into a URL.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

URL Decode

URL decode input(s).

Inputs

Configure

Strings (String)

The input String or StringArray. The values provided for this input must be of the appropriate type for the operation (e.g., Convert from Base64 will work only if a base64 value is provided).

Allows: String, StringArray

Encode + Symbol (Boolean)

Replace spaces with plus signs, as required for quoting HTML form values when building up a query string to go into a URL.

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

UUID4

Generate a version 4 UUID.

Inputs

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

UUID5

Generate a version 5 UUID using name and namespace inputs.

Inputs

Configure

Name (String, Optional)

The name to be used for UUID5 generation.

Namespace (EditChoice)

The namespace to be used for UUID5 generation.

Valid Values: Namespace DNS, Namespace URL, Namespace OID, Namespace X500

Outputs

  • string.operation (String)
  • string.outputs (StringArray)
  • string.outputs.0 (String)
  • string.outputs.count (String)

Labels

  • alphabet, alphanumeric, append, ascii, base64, capitalize, case, convert, converter, count, decimal, defang, digit, empty, ends, find, float, hash, hex, html, idn, idna, in, length, lowercase, md5, null, numeric, plaintext, prepend, punycode, quote, refang, replace, reverse, rot 13, sha1, sha256, slice, starts, string, stringarray, strip, swap case, titlecase, uppercase, url, uuid4, uuid5, with