@rws-air/utils
Version:
Utilities for rws-air libraries and applications
8 lines • 362 B
TypeScript
/**
* Split a string by its latest space character in a range from the character 0 to the selected one.
* @param str The text to split.
* @param length The length of the desired string.
* @param char The character to split with
*/
export declare function splitText(str: string, length: number, char?: string): string;
//# sourceMappingURL=SplitText.d.ts.map