Strip Path Function

Returns the name of the last component of a path and the stripped path that leads to that component.


icon

Inputs/Outputs

  • cpath.png path

    path specifies the path on which you want to operate.

    If this parameter is an empty path or is invalid, this function returns an empty string in name and <Not A Path> in stripped path.
  • ipath.png stripped path

    stripped path is the resulting path obtained by removing name from the end of path.

  • istr.png name

    name is the last component of the specified path.

  • For the path C:\labview\foo.vi, stripped path returns C:\labview while name returns foo.vi.