Results 1 to 2 of 2

Thread: v.prakash@digital.com

  1. #1
    prakash Guest

    Default v.prakash@digital.com

    How can I remove multiple blank Lines(not spaces) between a string? That is, if I have: Hi <BR> <BR> there <BR><BR> how are u<BR><BR> how can I get: <BR>Hi <BR> there<BR> how are u

  2. #2
    Eddie Campbell Guest

    Default Use Replace

    Use replace to get rid of them.<BR><BR>NewText=Replace(OldText,VbCrLf,"")<BR ><BR>Note, that assumes that the new line char is actually a carriage return & a line feed. If it is not, amend it to use eithe VbCr or VbLf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts