WindowsTrimStringEnd function winrt

int WindowsTrimStringEnd(
  1. int string,
  2. int trimString,
  3. Pointer<IntPtr> newString
)

Removes all trailing occurrences of a specified set of characters from the source string.

HRESULT WindowsTrimStringEnd(
  HSTRING string,
  HSTRING trimString,
  HSTRING *newString
);

Implementation

int WindowsTrimStringEnd(
        int string, int trimString, Pointer<IntPtr> newString) =>
    _WindowsTrimStringEnd(string, trimString, newString);