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:
    • 5if ITEM_BRAND is 慰めa
    • 8if 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
Google apps
Main menu
6737134759099768383
true
Search Help Center
false
true
true
true
true
true
5055977
true
false
false
false
Design a Mobile Site
View Site in Mobile | Classic
Share by: