• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • Last Modified:

Remove Underscore from Filename

Hi Folks,

How do I remove underscores from a filename ?

DIM Filename

Filename = "ts_01_01_0010"

I am looking for the answer

ts01010010

Thanks

RG
0
rgarimella
Asked:
rgarimella
  • 2
1 Solution
 
Martin LissRetired ProgrammerCommented:
Filename = Replace(Filename, "_","")
0
 
rgarimellaAuthor Commented:
Perfect
0
 
Martin LissRetired ProgrammerCommented:
I'm glad I was able to help.

Marty - MVP 2009 to 2013
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now