UNPKG

@ma3-pro-plugins/ma3-pro-plugins-lib

Version:
19 lines (18 loc) 500 B
/** * * @param str Removes spaces from beggining and end of string * @returns */ export declare function trimSpaces(str: string): string; /** * Last index of * @param str a string to search in * @param search a single character * @returns 0-based index of the seach character */ export declare function lastIndexOf(str: string, search: string): number; declare function repeat(str: string, times: number): string; export declare const StringUtils: { repeat: typeof repeat; }; export {};