ReadOnlyMemoryPolyfillExtensionTrimStart Method
Removes all leading white space characters from a read-only character memory
region.
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.5.0+6287955de434d14f61638ea0c3c40b499ae05cd1
public static ReadOnlyMemory<char> TrimStart(
this ReadOnlyMemory<char> memory
)
<ExtensionAttribute>
Public Shared Function TrimStart (
memory As ReadOnlyMemory(Of Char)
) As ReadOnlyMemory(Of Char)
public:
[ExtensionAttribute]
static ReadOnlyMemory<wchar_t> TrimStart(
ReadOnlyMemory<wchar_t> memory
)
[<ExtensionAttribute>]
static member TrimStart :
memory : ReadOnlyMemory<char> -> ReadOnlyMemory<char>
- memory ReadOnlyMemoryChar
- The source memory from which the characters are removed.
ReadOnlyMemoryCharThe trimmed character memory region.In Visual Basic and C#, you can call this method as an instance method on any object of type
ReadOnlyMemoryChar. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).