?
Solved

Trimming Spaces within a String

Posted on 2003-02-28
3
Medium Priority
?
143 Views
Last Modified: 2010-05-01
Is there a way that I get a string. Then use a function to take out any spaces that are found within this string.

Lets say for example I have the word
"Microsoft Visual Basic 6"

With the click of a mouse, can a function make it
"MicrosoftVisualBasic6"

And so on?

Thanks for the help!
0
Comment
Question by:nugenoa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
bob_online earned 150 total points
ID: 8042996
Replace(Stringvariable, " ", "")
0
 

Author Comment

by:nugenoa
ID: 8043045
Oh yea, thanks!
0
 
LVL 5

Expert Comment

by:bob_online
ID: 8043126
I honestly don't care, but why a "B" for exactly what you asked for?  Two minutes after you asked for it?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question