Returns the number of bytes in an inventory attribute or string.
Intended mainly for languages that do not use a Latin character set, such as Japanese and Chinese. If the string or inventory attribute is in a language that uses a Latin, single-byte character set, such as English,
lenb returns the same value as len.
Learn more about syntax for functions.
string: can be any of the following:
- A String constant, such as "GDN".
An inventory attribute or formula column that returns a string.
Learn more about referring to inventory attributes.
5 if ITEM_BRAND is 慰めa
8 if ITEM_BRAND is 快適な靴