Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing all occurrences of spaces if more than one space
Message
From
27/11/2013 15:55:57
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Removing all occurrences of spaces if more than one space
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01588792
Message ID:
01588792
Views:
42
What would be the simplest way to remove additional occurences of consecutive spaces in a file name?

For example, if I have a file Test File.zip, where only one space is between Test and File, this is ok. But, if I have two spaces between Test and File, I need to preserve only one. However, there could be several occurences of such situation in the same file name, where some sequences could have one, two or more spaces. So, I am looking to know if that could be adjusted within one command?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform