ChainJet
  • Introduction
  • Quickstart
  • Campaigns
  • Automations
  • Formatting inputs
    • Formatting Text
    • Formatting Numbers
  • Templates
  • Credentials
  • Integrations
    • Discord
    • OpenAI
    • Telegram Custom Bot
    • Lens Protocol 🌿
      • 🤖ChainJetBot
        • Translate a post to any language and publish it with a comment
        • Send a post by DM
        • Add a user to a Lens list
        • Share post on Discord
    • Mirror
    • POAP
    • XMTP
  • Tutorials
    • Automate messages to all users who claim your POAP
    • Export ALL of your Lens followers to Notion
    • Add Notion Database Item for Every New Lens Follower.
    • Add New POAP Holders to Your Notion Database
    • Translate a Lens post to any language
    • Create Discord commands
    • Telegram notification for new address transactions
    • Get Discord notifications for new Smart Contract events
  • Support and Community
    • 🌐WebSite
    • 👥Discord
    • 📧Email
    • 🐦Twitter
    • 🌼Hey
    • ⚫GitHub
    • 🗞️Newsletter
Powered by GitBook
On this page

Was this helpful?

  1. Formatting inputs

Formatting Text

Allows you to change a given text. In the following examples, we assume the output “trigger.value” is “Hello World”.

substring(text, from, to)

This function allows you to crop any text. The function accepts three parameters: The text to crop, from which character, and to which character.

Description
Formula
Result

Returns from the characters 0 to 3

{{substring(trigger.value, 0, 3)}}

Hel

Returns from characters 0 to 8

{{substring(trigger.value, 0, 8)}}

Hello Wo

Returns from characters 3 to 8

{{substring(trigger.value, 3, 8)}}

lo Wo

Returns from characters 3 to the end

{{substring(trigger.value, 3)}}

lo World

uppercase(text)

Description
Formula
Result

Returns the text in uppercase

{{uppercase(trigger.value)}}

HELLO WORLD

lowercase(text)

Description
Formula
Result

Returns the text in lowercase

{{lowercase(trigger.value)}}

hello world

PreviousFormatting inputsNextFormatting Numbers

Last updated 2 years ago

Was this helpful?