io.Path

Path

package haxe-io

Available on all platforms

This class provides a convenient way of working with paths. It supports the common path formats:

  • directory1/directory2/filename.extension
  • directory1\directory2\filename.extension

Constructor

new (path:String)

Creates a new Path instance by parsing path.

Path information can be retrieved by accessing the dir, file and ext properties.

Variables

backslash:Bool<