Text functions in Notion formulas!
Ultimate Portfolio Pack
A game-changing collection of Notion portfolios that revolutionize how you showcase your professional journey. 💯
Get it NowExpense Tracker
Mismanaged budgets are a thing of the past! Stop worrying, Start tracking!
Get it NowUsing Notion formulas to perform complex calculations and get the most out of date/time elements is amazing but why stop there? You can use Text functions to manipulate and extract information from text entries within databases!
In the previous article of the Fantastic Fantastic Formulas, we learned how to use Date and time functions. Make sure to check out the whole series for a full guide on how to use functions in Notion formulas to build custom formulas on your own!
Without further ado, let's start.
Here are all the Text functions that can be used to build Notion formulas:
- concat
- contains
- format
- join
- length
- replace
- replaceAll
- slice
- test
As in the previous articles of this series, I will explain each of these functions along with examples.
1. format()
The format
function allows you to format a text string using placeholders. The function takes a string as its first argument, which is the text string to format. The second argument is a string that contains placeholders, which are surrounded by curly braces ({}
). The placeholders are replaced with the corresponding values from the remaining arguments.
For example:
As you can see below, the formula is working! 🔽
2. concat()
The concat
function allows you to combine two or more text strings into a single string. The function takes one or more arguments, which can be either text strings or references to other text entries, and returns a single string that is the concatenation of all the input arguments.
For example:
As you can see below, the formula is working! 🔽
3. contains()
The contains
function returns a Boolean value indicating whether a specified string is found within another string. The function takes two arguments: the string to search and the string to search for. If the string to search for is found within the string to search, the function returns true
, otherwise it returns false
.
For example:
As you can see below, the formula is working! 🔽
4. join()
The join
function allows you to concatenate all elements of an array into a single string, with a specified separator. The function takes two arguments: the array to join and the separator to use between the elements. The separator can be any text string, including an empty string.
For example:
As you can see below, the formula is working! 🔽
Conclusion
Now you know how to use the first four Text functions in Notion formulas. Use these functions to enhance your Notion workspace and add custom features to it by building your own custom formulas using these functions! You can also use our shortcut commands template to be more efficient using these.
Remember to check out other articles in the Fantastic Formulas series to learn how to use formulas in Notion databases from A-Z! Check out our Twitter account 🐦 for daily updates, latest Notion template launches, hot deals on Premium Top-rated Notion templates and helpful tips/tricks to get the most out of Notion!