Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing all occurrences of spaces if more than one spac
Message
De
27/11/2013 16:31:45
 
 
À
27/11/2013 15:55:57
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01588792
Message ID:
01588793
Vues:
51
This message has been marked as a message which has helped to the initial question of the thread.
>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?


Check this.
http://stackoverflow.com/questions/206717/how-do-i-replace-multiple-spaces-with-a-single-space-in-c
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform