Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tstl/benchmark/internal/StringUtil.ts>StringUtil.rtrim

TypeScript-STL (Standard Template Library, migrated from C++)
Latest
method StringUtil.rtrim
import { StringUtil } from "https://deno.land/x/tstl@v3.0.0/benchmark/internal/StringUtil.ts";

Remove all designated characters from the end of the specified string.

Parameters

str: string

The string should be trimmed.

...args: string[]

Designated character(s).

Returns

string

Updated string where designated characters was removed from the end.