Avatar of Larry Brister
Larry Brister
Flag for United States of America asked on

.Net remove carriage returns, line feeds and tabbs

In vb.net or C#...
I need to replace the following in a string

Tabbed sections (CHAR(9) in SQL Server
Carriage Retrun and LineFeeds  (Car(13) + CHAR(10) in SQL Server)
Visual Basic.NET.NET ProgrammingC#

Avatar of undefined
Last Comment
Larry Brister

8/22/2022 - Mon
Paul MacDonald

.Net has a Replace function:

Replace(SourceString, SubstringToFind, StringToReplaceWith)
or
Dim strSource as String
strSource.Replace(SubstringToFind, StringToReplaceWith)
Larry Brister

ASKER
I know it has a replace function
I am looking for those specific things to replace and how to reference them
SOLUTION
HainKurt

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Dmitry G

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Larry Brister

ASKER
Thanks guys
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck