js-util

Home > rc-js-util > pathJoin

pathJoin() function

Joins two strings start and end with a separator.

Signature:

export declare function pathJoin(start: string, end: string, separator?: string): string;

Parameters

Parameter Type Description
start string  
end string  
separator string (Optional)

Returns:

string

The joined path.

Remarks

See pathJoin().