WindowsSubstring function winrt
Retrieves a substring from the specified string. The substring starts at the specified character position.
HRESULT WindowsSubstring(
HSTRING string,
UINT32 startIndex,
HSTRING *newString
);
Implementation
int WindowsSubstring(int string, int startIndex, Pointer<IntPtr> newString) =>
_WindowsSubstring(string, startIndex, newString);