NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Extstension of File Name

Solved!
Go to solution

Hi

 

How can i remove the .seq exstention off of the sequence file name.

I want to display this name in the Header of the Report.

Help share your knowlegde
0 Kudos
Message 1 of 3
(3,097 Views)
Solution
Accepted by topic author Shako

Total Hack:

Left((Mid(RunState.SequenceFile.Path, Find(RunState.SequenceFile.Path, "\\", 0, False, True) + 1)), Find((Mid(RunState.SequenceFile.Path, Find(RunState.SequenceFile.Path, "\\", 0, False, True) + 1)), ".", 0, False, False))

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 3
(3,084 Views)

Thanks alot jiggawax.

 

I dont think i would have gotten this solution by myself and time soon. 

:manhappy:

Help share your knowlegde
0 Kudos
Message 3 of 3
(3,054 Views)