StringExtensions Methods |
The StringExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| AnyStringIn(IEnumerableString, StringOrRegularExpression) |
Returns true if any value in s is present in values (corresponds to the $in filter operator).
| |
| AnyStringIn(IEnumerableString, IEnumerableStringOrRegularExpression) |
Returns true if any value in s is present in values (corresponds to the $in filter operator).
| |
| AnyStringNin(IEnumerableString, StringOrRegularExpression) |
Returns true if any value in s is not present in values (corresponds to the $nin filter operator).
| |
| AnyStringNin(IEnumerableString, IEnumerableStringOrRegularExpression) |
Returns true if any value in s is not present in values (corresponds to the $nin filter operator).
| |
| IndexOfBytes(String, String) |
Searches a string for an occurrence of a substring and returns the UTF-8 byte index (zero-based) of the first occurrence.
| |
| IndexOfBytes(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.
| |
| IndexOfBytes(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.
| |
| StringIn(String, StringOrRegularExpression) |
Returns true if s is present in values (corresponds to the $in filter operator).
| |
| StringIn(String, IEnumerableStringOrRegularExpression) |
Returns true if s is present in values (corresponds to the $in filter operator).
| |
| StringNin(String, StringOrRegularExpression) |
Returns true if s is not present in values (corresponds to the $nin filter operator).
| |
| StringNin(String, IEnumerableStringOrRegularExpression) |
Returns true if s is not present in values (corresponds to the $nin filter operator).
| |
| StrLenBytes |
Returns the number of UTF-8 encoded bytes in the specified string.
| |
| SubstrBytes |
Returns the number of UTF-8 encoded bytes in the specified string.
|