1
0
Fork 0
js-utils/docs/api/js-utils.trim.md

25 lines
542 B
Markdown
Raw Normal View History

2020-03-29 14:10:40 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [trim](./js-utils.trim.md)
## trim() function
<b>Signature:</b>
```typescript
export declare function trim(val: string, max: number, tail?: string): string;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | <code>string</code> | |
| max | <code>number</code> | |
| tail | <code>string</code> | |
<b>Returns:</b>
`string`