About
Pricing
Community
Teams
Start Free Trial
Log in
Larry Brister
asked on
4/27/2017
.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 Programming
C#
5
2
Last Comment
Larry Brister
8/22/2022 - Mon
Paul MacDonald
4/27/2017
.Net has a
Replace function
:
Replace(SourceString, SubstringToFind, StringToReplaceWith)
or
Dim strSource as String
strSource.Replace(Substrin
gToFind, StringToReplaceWith)
Larry Brister
4/27/2017
ASKER
I know it has a replace function
I am looking for those specific things to replace and how to reference them
SOLUTION
HainKurt
4/27/2017
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
4/27/2017
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
4/28/2017
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
Replace(SourceString, SubstringToFind, StringToReplaceWith)
or
Dim strSource as String
strSource.Replace(Substrin