diff --git a/base/path.jl b/base/path.jl index 61b2089a6b1062..21d5085bff95a8 100644 --- a/base/path.jl +++ b/base/path.jl @@ -213,7 +213,11 @@ the path, including the root directory if present. # Examples ```jldoctest julia> splitpath("/home/myuser/example.jl") -["/", "home", "myuser", "example.jl"] +4-element Array{String,1}: + "/" + "home" + "myuser" + "example.jl" ``` """ function splitpath(p::String)