← Docs
kotlin-stdlib / kotlin.io.path / java.nio.file.Path / pathString

pathString

JVM
JRE7
1.5
inline val Path . pathString : String
(source)

Returns the string representation of this path.

The returned path string uses the default name separator to separate names in the path.

This property is a synonym to Path.toString function.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .