Rename attachment

  • Thread starter Thread starter Andrew
  • Start date Start date
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.
 
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.
 
Back
Top