Splitting text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a a path assigned to a variable like:

Z:\Private\Data_Manager\Cherman_TestMachineName_INV_20070302\InventoryInput\

The length of the path can change, but it will always end in
"InventoryInput\". I'm trying to strip this from my variable so that only the
rest of the path is left.

Any suggestions would be most appreciated!

Thanks,
Clint
 
Since you always want to chop 15 characters off:

Left(strPath, Len(strPath) - 15)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top