Rename attachment

A

Andrew

How do I rename multiple attachments when stripping
multiple attachments? I have the code to strip
attachments and it works fine.

My problem stems from file names that include
forward /'s. Example below:

/company/operations/filename

So actually, I need to keep filename, but remove preceding
information.

Thank you.
 
M

Myrna Larson

You can use the InstrRev function to find the last slash, or the Split command to split the
string at the slashes and discard all but the last element in the resulting array.
 

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

Top