rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
86 lines (40 loc) • 950 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [stringConcat2](./rc-js-util.stringconcat2.md)
## stringConcat2() function
Like concat but for only 2 parameters (yes it's dumb, but it can be a lot faster for lots of small joins).
**Signature:**
```typescript
export declare function stringConcat2(a: string, b: string, sep?: string): string;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
a
</td><td>
string
</td><td>
</td></tr>
<tr><td>
b
</td><td>
string
</td><td>
</td></tr>
<tr><td>
sep
</td><td>
string
</td><td>
_(Optional)_
</td></tr>
</tbody></table>
**Returns:**
string
## Remarks
See [stringConcat2()](./rc-js-util.stringconcat2.md)<!-- -->.