String utilities
This reference provides the sample string utilities in Liquid expressions.
to_json
Convert the format from hash to JSON.
parse_json
Convert the format from JSON to hash.
string_escape
Escape special characters.
to_xml
Convert the format from hash to XML.
regex
Return array of strings that match the regular expression.
Parameters: input, regular expression, operation[‘match_first’, ‘match_all’]
input_byte_8x
Add spaces to a string to reach the byte mark.