Forum Discussion

TestQA1's avatar
TestQA1
Frequent Contributor
3 years ago

Getting a substring in a variable out of Project FileName

Hi All,   I have a fully qualified file name of my project.   var bb = C:\\Testing\BDD\ABC072_SDS\ABC072_SDS.mds    I need to get 'ABC072_SDS' from the path and store in a variable to use it fu...
  • AlexKaras's avatar
    3 years ago

    Hi,

     

    I hope that aqFileSystem.GetFileNameWithoutExtension() is what you are looking for.