Method SubstrBytes
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
SubstrBytes(string, int, int)
Returns the number of UTF-8 encoded bytes in the specified string.
public static string SubstrBytes(this string s, int startIndex, int length)
Parameters
s
string
The string.
startIndex
int
The start index.
length
int
The length.
Returns
The number of UTF-8 bytes.