Solved

Remove carriage return conditionally

Posted on 2006-06-23
5
1,062 Views
Last Modified: 2012-06-21
Hi,

I am looking for a good way in VBScript to remove a vbCrLf condtionally.  Basically to remove the carriage return based on a substring of data.  

Thanks!
0
Comment
Question by:orionpm
5 Comments
 
LVL 14

Expert Comment

by:dlwyatt82
ID: 16971236
You need to be more specific.  However, Regular Expressions are generally well-suited to any string parsing task such as this.
0
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 16971747
I take it you don't want to remove all vbCrLfs with a Replace command:

    someStringVariable = Replace(someStringVariable, vbCrLf, "")
0
 
LVL 1

Author Comment

by:orionpm
ID: 16972190
I figured this one out and have requested that this question be removed.... Thanks...

http://www.experts-exchange.com/Community_Support/Q_21897467.html
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now