Export (0) Print
Expand All
Expand Minimize

2.1.1029 Part 1 Section 18.17.7.286, SEARCHB

a. The standard states that in the description of argument start-pos, start-pos shall be at least 0.

In Office, start-pos shall be at least 1, measured in bytes.

b. The standard does not specify that the start position is measured in bytes.

Office measures the start position in bytes.

c. The standard does not specify behavior of SEARCHB when default language supports DBCS and when it does not support DBCS.

In Office, when the default language supports DBCS, SEARCHB counts each double-byte character as 2 bytes, and each single-byte character as 1. When the default language does not support DBCS, SEARCHB counts each character as 1 byte.

d. The standard does not specify which languages support DBCS.

In Office, the languages that support DBCS include Japanese, Chinese (Simplified), Chinese (Traditional), and Korean.

Show:
© 2014 Microsoft