@botonic/plugin-contentful
Version:
## What Does This Plugin Do?
8 lines (7 loc) • 348 B
TypeScript
export declare function ltrim(str: string, chars: string): string;
export declare function rtrim(str: string, chars: string): string;
export declare function trim(str: string, chars: string): string;
/**
* String.replaceAll only available in esnext
*/
export declare function replaceAll(haystack: string, oldStr: string, newStr: string): string;