segments
The number of path levels to preserve when parsing.
Declaration
var segments: UIntDiscussion
With a path of /a/b/c/d, setting segments to 2 keeps /a/b.
Use a value of 0 to keep all path segments.
The number of path levels to preserve when parsing.
var segments: UIntWith a path of /a/b/c/d, setting segments to 2 keeps /a/b.
Use a value of 0 to keep all path segments.