Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Remove extra whitespace from inside a string
Author:
T. Buchmann
E-mail:
Click to e-mail author
Submitted:
6/3/2007
Version:
VB6
Compatibility:
VB6
Category:
String Manipulation
Views:
15246
Quickly remove extra whitespace from inside a string.
Declarations:
'none
Code:
Function fSQLSpalten(ByVal sSpaltenZeile$) As String sSpaltenZeile = Trim(sSpaltenZeile) Do While InStr(1, sSpaltenZeile, " ") > 0 sSpaltenZeile = fReplace(sSpaltenZeile, " ", " ") Loop fSQLSpalten = sSpaltenZeile End Function
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement