WindowsSubstring function winrt

int WindowsSubstring(
  1. int string,
  2. int startIndex,
  3. Pointer<IntPtr> newString
)

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);