Notification

Please be advised that the Customer Support team does not provide troubleshooting services in your current display language. To contact Support team staff, please first switch to English or other supported languages (Spanish, Portuguese or Japanese). 

string_len_byte

Returns the number of bytes in a feed attribute or string.

Intended mainly for languages that don't use a Latin character set, such as Japanese and Chinese. If the string or feed attribute is in a language that uses a Latin, single-byte character set, such as English, string_len_byte returns the same value as length.

Note: This function is only available in Templates and can't be used in reporting.

Syntax

string_len_byte("value")

Parameter

value: can be any of the following:

  • Static text, such as 'GDN'.
  • An expression or formula column that returns a text value.

Examples

  • string_len_byte(ITEM_BRAND) returns:
    • 5 if ITEM_BRAND is 慰めa
    • 8 if ITEM_BRAND is 快適な靴

string_len_byte("") returns 0.

Related links

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Main menu
4083253067367937865
true
Search Help Centre
true
true
true
true
true
5055977
false
false