Contents

path(toColumn:)

Returns a string representing the path from the first column up to, but not including, the column at the given index.

Declaration

func path(toColumn column: Int) -> String

Parameters

  • column:

    The index of the column at which the path stops.

Return Value

The path of the current selection up to, but not including, the specified column. The components of this path are separated with the string returned by pathSeparator.

See Also

Managing the Path