Click or drag to resize

StringExtensions Class

This static class holds methods that can be used to express MongoDB specific operations in LINQ queries.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.LinqStringExtensions

Namespace:  MongoDB.Driver.Linq
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public static class StringExtensions

The StringExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIndexOfBytes(String, String)
Searches a string for an occurrence of a substring and returns the UTF-8 byte index (zero-based) of the first occurrence.
Public methodStatic memberIndexOfBytes(String, String, Int32)
Searches a string for an occurrence of a substring and returns the UTF-8 byte index (zero-based) of the first occurrence.
Public methodStatic memberIndexOfBytes(String, String, Int32, Int32)
Searches a string for an occurrence of a substring and returns the UTF-8 byte index (zero-based) of the first occurrence.
Public methodStatic memberStrLenBytes
Returns the number of UTF-8 encoded bytes in the specified string.
Public methodStatic memberSubstrBytes
Returns the number of UTF-8 encoded bytes in the specified string.
Top
See Also