StringExtensionPolyfillExtension Class
Extension methods, which act as Polyfills for the extension methods of the
StringExtension class.
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
public static class StringExtensionPolyfillExtension
<ExtensionAttribute>
Public NotInheritable Class StringExtensionPolyfillExtension
[ExtensionAttribute]
public ref class StringExtensionPolyfillExtension abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type StringExtensionPolyfillExtension = class end
- Inheritance
- Object StringExtensionPolyfillExtension
The polyfills are available for .NET Framework 4.5 and .NET Standard 2.0.
| ContainsAny | Indicates whether a String contains one of the Unicode characters
that are passed to the method in a read-only span. |
| IndexOfAny(String, String) | Returns the zero-based index of the first occurrence of one of the the specified
characters in s. |
| IndexOfAny(String, String, Int32) | Returns the zero-based index of the first occurrence of one of the the specified
characters in s. The search starts at the specified
startIndex. |
| IndexOfAny(String, String, Int32, Int32) | Returns the zero-based index of the first occurrence of one of the the specified
characters in s. The search begins at a specified index and a
specified number of character positions are checked. |
| LastIndexOfAny(String, String) | Returns the zero-based index position of the last occurrence of one of the
specified characters in s.
|
| LastIndexOfAny(String, String, Int32) | Returns the zero-based index position of the last occurrence of one of the
specified characters in s. The search starts at the specified
startIndex and runs backwards to the beginning of s.
|
| LastIndexOfAny(String, String, Int32, Int32) | Returns the zero-based index position of the last occurrence of one of the
specified characters in s. The search begins at a specified index
and runs backwards to the beginning of the String for a specified
number of character positions. |
| ReplaceWhiteSpaceWith | Generates a String in which all sequences of white space
are replaced by replacement. |