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:- 5if ITEM_BRAND is 慰めa
- 8if ITEM_BRAND is 快適な靴
string_len_byte("")
returns 0.

