Solved

Remove carriage return conditionally

Posted on 2006-06-23
5
1,069 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 86

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
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 …
Progress

707 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