This modifier allows you to convert a textual value into hexadecimal text:
This modifier allows you to convert a textual value into hexadecimal text:
bin2hex
{{$text|bin2hex}}
bin2hex
{{* Hexadecimal value based on the first name "deployteq" derived from a string and a system field *}}
{{"deployteq"|bin2hex}} 6465706c6f79746571
{{customer|bin2hex field="firstname"}} 6465706c6f79746571
{{* Hexadecimal value based on the first name "deployteq" and a truncation of 5 characters *}}
{{"deployteq"|bin2hex|truncate:5:""}} 64657
{{customer|bin2hex|truncate:5:"" field="firstname"}} 64657