Home |
Search |
Today's Posts |
#11
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I had to the same thing as I was adding 001 002 etc.. to duplicate filenames in VB.NET If the file existed I added 001, if that existed I added 002, but removing the 001 etc.. sometimes removed char from the middle of the name or the first instance, so I deleted the last three chars as below... I used : templength = filename.Length filename = filename.Substring(0, templength - 3) *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Remove characters from string | Excel Programming | |||
Remove characters from string | Excel Programming | |||
Remove characters from string | Excel Programming | |||
Remove characters from string | Excel Programming | |||
Remove all characters following the first character in a string | Excel Discussion (Misc queries) |