Strip Path Function

Owning Palette: File I/O VIs and Functions

Requires: Base Development System

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

Details  

 Add to the block diagram  Find on the palette
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.
stripped path is the resulting path obtained by removing name from the end of path.
name is the last component of the specified path.

Strip Path Details

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