Function: cutText()
cutText(
str:string,length:number):string
Split a text by its latest space character in a range from the character 0 to the selected one.
Parameters
| Parameter | Type | Description |
|---|---|---|
str | string | The text to split. |
length | number | The length of the desired string. |
Returns
string
Copyright
2019 Aura Román
License
Apache-2.0