Bridge utilities: String Tools

Enhance text with string tools.

Who can use this?

Plans:

  • Bridge by Smartsheet

With String Tools, you can take an existing string and change it.

String Tools modules

In the descriptions below, bold words indicate fields in the modules.

When in doubt about a field in a module, hover over the question mark next to the field and get a brief description of the field's function.

Compose Text

Construct text over multiple lines using a combination of text and data references. Just fill the Enter Text field with what you need.

This module is used in the template Expose Last Row Comment.

Extract Text

Extracts a particular substring from a given string. Enter the Text from which the Match Test should be extracted.

In the image below, the Extract Text module was set up to reference the text "A piece of text with seven words" in the Text field and "text with" in the Match Text field.

Brandfolder Image
Extract text fields

Find Text

Extracts multiple matches and string positions of a substring from a given string. Enter the Text from which the Match Test will be searched/parsed.

The image below shows the result of searching for "text" in the referenced sentence "A piece of text with seven words." The module returns the result as an object for each result; in this case, the word was found once.

For each result, the text's start and end character location is returned as "start" and "finish."

Lowercase

Returns a string as all Lowercase, enter the Text that should be converted to lowercase.

Uppercase

Returns a string in all Uppercase, enter the Text that should be converted to uppercase.

Replace Text

Performs a search in the Text and replaces the Match Text with the Replace Text.

Size of String

Returns the size in characters of the Text as a number.

Word Count

Returns the number of words in the Text.

Split Text

Split a Text into an array of substrings based on a Delimiter and return the result as an array.

In the image below, "This is a piece of text" has been split using the delimiter "piece." Note that the word piece is removed from the results.

Brandfolder Image
Split text fields

Trim String

Trim whitespaces off the end of a Text.