Available in-line formulas in Classic Zaps

Learn what formulas are available when using in-line formulas in your Classic Zaps.

Note

This article covers Classic Zaps. For Next Gen Zaps, which you build by describing them to your AI tool, read Get started with Next Gen Zaps. Your Classic Zaps keep running as they are.

Text Utility List Object

Text

Text.concat

Text.concat(text,text)

Combines two strings.

Required input

"a","b" The input strings you want to combine.

  • Wrap each string separately in double quotation marks.
  • Separate strings with commas.

Output

result The single string of all combined input values.

Example

Input: Text.concat("Hello ","world!")

Output: Hello world!


Text.lowercase

Text.lowercase("text")

Converts all uppercase alphabetic characters in a string to lowercase.

Required input

text The input string you want to convert to lowercase.

Output

result The converted lowercase string.

Example

Input: Text.lowercase("Hello")

Output: hello


Text.trim

Text.trim("text")

Removes any leading and trailing spaces from a string.

Required input

text The string you want to remove leading and trailing spaces from.

Output

result The converted string with leading and trailing spaces removed.

Example

Input: Text.trim(" hello")

Output: hello


Input: Text.trim("hello ")

Output: hello


Input: Text.trim(" hello world ")

Output: hello world


Text.uppercase

Text.uppercase("text")

Converts all lowercase alphabetic characters in a string to uppercase.

Required input

text The input string you want to convert to uppercase.

Output

result The converted uppercase string.

Example

Input: Text.uppercase("Hello")

Output: HELLO


Text.extract_email

Text.extract_email("text")

Extracts the first email address found in a string.

Required input

text The string containing an email address.

Output

result The string containing only an email address.

Example

Input: Text.extract_email("Contact support@zapier.com")

Output: support@zapier.com


Text.extract_number

Text.extract_number("number")

Extracts the first number found in a string.

Required input

number The string containing a number.

Output

result The string containing only a number.

Example

Input: Text.extract_number("Total: $1,234.50")

Output: 1234.5


Text.extract_url

Text.extract_url("text")

Extracts the first URL found in a string.

Required input

text The text containing a URL.

Output

result The string containing only a URL.

Example

Input: Text.extract_url("Visit https://zapier.com")

Output: https://zapier.com

Additional resources

Learn about tips and tricks for using in-line formulas.

Was this article helpful?
7 out of 12 found this helpful