String

Introduction

The String library in Autom Mate provides a set of actions for performing operations on textual data. These actions enable users to manipulate, format, and extract information from text strings efficiently.

The purpose of the String component is to offer a range of functionalities for handling and processing textual data within automated workflows. It allows users to modify, transform, and analyze text strings as needed.

What is String?

The String component encompasses various actions designed to work with text data. These actions facilitate tasks such as appending, assigning values, capitalizing, converting to date or number formats, finding and replacing text, and more.

Key Features

  • Text Manipulation:

    • Perform operations to modify and manipulate text strings.

  • Conversion:

    • Convert text values to different formats such as dates or numbers.

  • Search and Replace:

    • Find specific text patterns and replace them with new values.

  • Text Length:

    • Retrieve the length of text strings for analysis.

How To Use Action

Append

Description: The Append action is used to add new data to an existing text or data structure.

Usage:

  • Value to Assign:

    • Enter the textual data value to be added.

  • Source to be Appended:

    • Add the data at the end of the existing content.

Assign

Description: The Assign action defines a textual value to be assigned to a variable.

Usage:

  • Value to Assign:

    • Enter the textual data value to be assigned.

  • Source to be Assigned:

    • Specify the variable to which the data will be assigned.

Capitalize

Description: The Capitalize action converts the first letter of a text string to uppercase.

Usage:

  • Source String:

    • Enter the text value to be capitalized.

  • Capitalize:

    • Choose to capitalize only the first letter or multiple letters.

  • Assign the output to variable:

    • Determine the variable for the capitalized data.

Convert (Date)

Description: The Convert (Date) action transforms a text value into a date type.

Usage:

  • Source String:

    • Enter the text value to be converted.

  • Source Date Format:

    • Specify the format of the source text.

  • New Date Format:

    • Select the desired date format after conversion.

  • Assign the output to the variable:

    • Determine the variable for the converted date.

Convert (Number)

Description: The Convert (Number) action changes a text value to a number type.

Usage:

  • Source String:

    • Enter the text value to be converted.

  • Assign the output to variable:

    • Determine the variable for the converted number.

  • Round Number:

    • Specify the number of digits after the decimal point.

Length

Description: The Length action retrieves the length of a text value.

Usage:

  • Source String:

    • Enter the text value to calculate its length.

  • Assign the output to variable:

    • Determine the variable for the length information.

Lowercase

Description: The Lowercase action converts text data from uppercase to lowercase.

Usage:

  • Source String:

    • Enter the text value to be converted.

  • Assign the output to variable:

    • Determine the variable for the converted lowercase data.

Prepend

Description: The Prepend action adds data to the beginning of an existing text.

Usage:

  • Value to Assign:

    • Enter the textual data value to be added.

  • Source to be Prepended:

    • Add the data at the beginning of the existing content.

Replace

Description: The Replace action substitutes new textual data for specified text in a string.

Usage:

  • Source String:

    • Enter the text value to search for replacements.

  • Find String:

    • Specify the text to be replaced.

  • When Finding:

    • Choose options for matching case sensitivity.

  • Replace With:

    • Enter the new text to replace the found string.

  • Assign the output to the variable:

    • Determine the variable for the replaced data.

Description: The Search action finds specific text patterns within a string.

Usage:

  • Source String:

    • Enter the text value to search within.

  • Find String:

    • Specify the text pattern to search for.

  • When Finding:

    • Choose options for matching case sensitivity.

  • Assign the output to the variable:

    • Determine the variable for the search results.

Split

Description: The Split action divides a text value into parts based on a specified delimiter.

Usage:

  • Source String:

    • Enter the text value to be split.

  • Delimiter:

    • Specify the separator for splitting the text.

  • Delimiter is:

    • Choose options for matching case sensitivity.

  • Assign the output to the variable:

    • Determine the variable for the split data.

Substring

Description: The Substring action extracts a portion of a text value based on specified positions.

Usage:

  • Source String:

    • Enter the text value to extract from.

  • Start From:

    • Specify the starting position for extraction.

  • Length (Optional):

    • Specify the length of the extracted substring (optional).

  • Assign the output to the variable:

    • Determine the variable for the extracted data.

Trim

Description: The Trim action removes specified characters from the beginning or end of a text value.

Usage:

  • Source String:

    • Enter the text value to be trimmed.

  • Trim from the beginning:

    • Specify characters to remove from the start.

  • Trim from the end:

    • Specify characters to remove from the end.

  • Assign the output to the variable:

    • Determine the variable for the trimmed data.

Uppercase

Description: The Uppercase action converts text data from lowercase to uppercase.

Usage:

  • Source String:

    • Enter the text value to be converted.

  • Assign the output to variable:

    • Determine the variable for the converted uppercase data.

Additional Tips

Use Cases

FAQ (Frequently Asked Questions)

Last updated