+ Reply to Thread
Results 1 to 2 of 2

Read the MailItem Body and remove the extra line break

  1. #1
    Registered User
    Join Date
    08-23-2020
    Location
    Singapore
    MS-Off Ver
    office 365
    Posts
    18

    Read the MailItem Body and remove the extra line break

    Hi there,

    How do I remove the extra line break between each paragraph.
    Problem is, the MailItem Body returns as a string.
    At most I can do a trim to remove leading and trailing whitespace.
    How do i remove extra paragraph mark in between the text.

  2. #2
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: Read the MailItem Body and remove the extra line break

    in visual basic and all of its extensions, I think, line breaks are identified by a few different codes/char nums. and I don't even think Microsoft knows what is what. what I've noticed, is that based on what you're doing, line breaks can be identified as any one of these in code:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need to remove the space or extra line.
    By Sekars in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-06-2017, 01:35 AM
  2. [SOLVED] Remove extra spaces in each line in a cell
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-16-2015, 06:23 AM
  3. [SOLVED] How to remove extra spaces from copies string from mail body
    By shukla.ankur281190 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2015, 03:14 AM
  4. How to remove an extra space at the end of the line?
    By EnCECU in forum Excel General
    Replies: 2
    Last Post: 03-01-2014, 04:37 PM
  5. Replies: 0
    Last Post: 04-15-2013, 10:58 AM
  6. remove line break
    By yiannis1925 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2012, 03:10 AM
  7. Replies: 1
    Last Post: 03-02-2005, 11:06 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1