[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 669
  • Last Modified:

Stripping CR/LF in VB

Hi,

Does someone have a function for stripping CR/LF from a string?

THX

Rich
0
RichardFox
Asked:
RichardFox
  • 2
  • 2
1 Solution
 
RichardFoxAuthor Commented:
TO clarify, may be imbedded and/or multiple CR/LFs
0
 
mccainz2Commented:
mystring=myreplace(mystring,vbcr,"")
mystring=replace(mystring,vblf,"")
mystring=replace(mystring,vbcrlf,"")


0
 
mccainz2Commented:
typo in the first line , myreplace should be simply replace....
0
 
RichardFoxAuthor Commented:
Thanks!
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now