TRIM ; out of a text Field

Hello,

I am trying to take ; out of text field when extracting the data out of the database.

Unfortunately the Text field with create the value ; when a user uses the carriage return when entering in text. I want to get rid of the ; when exporting data into Excel?
NewFocusConsultAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike EghtebasDatabase and Application DeveloperCommented:
What your sample data looks like. I suppose nothing complicated except it has ; deliminator.

How do you import the data? If you create a named spec (in which you indicate ; is deliminator), it will not import (or show) ; in access.

Basically, you have incomplete question and experts have to make all kind of wild guesses.

Provide sample data, sample code, etc.

Also

Dim str1 = "ABC;DFG"

You can remove ; using the following

str1 = Replace(str1, ";","")

Now MsgBox str1  returns ABCDEF without ;

Please see ​Top 10 Ways to Ask Better Questions
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.