The Liquid language is bundled with standard filters.

## downcase

## Description

convert an input string to DOWNCASE

## Usage



## upcase

## Description

convert an input string to UPCASE

## Usage



## capitalize

## Description

capitalize words in the input sentence

## Usage



## escape

## Description

escape special characters in HTML, namely &"<>

## Usage



## truncate

## Description

truncate a string down to x characters

## Usage



## truncatewords

## Description

truncate a sentence down to x words

## Usage



## split

## Description

split input string into an array of substrings separated by given pattern.

## Usage



## strip_html

## Description

strip HTML tags

## Usage



## strip_newlines

## Description

remove all newlines from the string

## Usage



## join

## Description

join elements of the array with certain character between them

## Usage



## sort

## Description

sort elements of the array. Provide optional property with which to sort an array of hashes or drops

## Usage



## reverse

## Description

Reverse the elements of an array

## Usage



## map

## Description

map/collect on a given property

## Usage



## replace

## Description

replace occurrences of a string with another

## Usage



## replace_first

## Description

replace the first occurrences of a string with another

## Usage



## remove

## Description

remove a substring

## Usage



## remove_first

## Description

remove the first occurrences of a substring

## Usage



## append

## Description

add one string to another

## Usage



## prepend

## Description

prepend a string to another

## Usage



## newlinetobr

## Description

add tags in front of all newlines in input string

## Usage



## date

## Description

Reformat a date



## Usage



## plus

## Description

addition

## Usage



## minus

## Description

subtraction

## Usage



## times

## Description

multiplication

## Usage



## divided_by

## Description

division

## Usage



## modulo

## Description

modulo

## Usage