mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
document remove string filter
This commit is contained in:
@@ -323,7 +323,12 @@ module Liquid
|
||||
output
|
||||
end
|
||||
|
||||
# remove a substring
|
||||
# @public_docs
|
||||
# @syntax {{ string | remove: string }}
|
||||
# @summary Remove a substring.
|
||||
# @type filter
|
||||
# @category string
|
||||
# @return string
|
||||
def remove(input, string)
|
||||
replace(input, string, '')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user