String filters are used to manipulate outputs and variables of the string type. See more string filters here, however please keep in mind that not all Liquid filters work in Rallybound's system.
Filters on this page:
Returns the adverb of a recurring interval. Works specifically on the Recurring Donation object. Filter map the interval—
- day to "daily
- week to "weekly"
- month to "monthly"
- quarter to "quarterly"
- year to "annually"
Concatenates two strings and returns the concatenated value.
append can also be used with variables:
Makes the first character of a string capitalized.
Makes each character in a string lowercase. It has no effect on strings which are already all lowercase.
Prepends the word "Team" to team names that don't already have the word in their name. Works specifically on the
If team name is "Awesome Fundraisers", the output will be:
If team name is "Team Awesome", the output will be:
Adds the specified string to the beginning of another string.
prepend can also be used with variables:
Adds "an" or "a" before the word as grammatically appropriate. Note: only works on a single item — it does not remove the "a" or "an" for a plural version.
If the value of
fruit is "apple", the output will be:
If the value of
fruit is "banana", the output will be:
Removes every occurrence of the specified substring from a string.
Replaces every occurrence of the first argument in a string with the second argument.
Divides a string into an array using the argument as a separator.
split is commonly used to convert comma-separated items from a string to an array.
Makes the first letter of each word in a string uppercase. It has no effect on strings which are already title case.
Makes each character in a string uppercase. It has no effect on strings which are already all uppercase.