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