![]() | MIDB function |
For double-byte character set (DBCS) languages, returns a specific number of characters from a text string, starting at the position you specify, based on the number of bytes you specify.
This function is an East Asian language-specific feature. To use this function, you must turn on Chinese language features or turn on Japanese language features in Excel.
Syntax
MIDB(text,start_num,num_bytes)
Argument | Description | Remarks |
|---|---|---|
text | The text string that contains the characters that you want to return. |
|
start_num | The position of the first character that you want to extract in text. The first character in text has start_num 1, and so on. |
|
num_bytes | Specifies the number of characters you want MIDB to return from text, in bytes. |
|
Example
=MIDB("
",1,6), equals "
"





