• splits path immediately following the final slash, separating it into a directory and file name component. If there is no slash in path, Split returns an empty dir and file set to path.

    Returns

    [dir,file] The returned values have the property that path = dir+file.

    Parameters

    • path: string

    Returns string[]

Generated using TypeDoc