Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. how to remove whitespace(<p>&lt;\p&gt; )using stringbuilder in c#</p>

how to remove whitespace(<p>&lt;\p&gt; )using stringbuilder in c#</p>

Scheduled Pinned Locked Moved C#
csharptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raj231362
    wrote on last edited by
    #1

    hello all, i am new in window apllication c#. when i load rtf file in richtextbox control with every new paragraph with

    and <\p>. i have done this..but can't remove whitespace. he show with blankspace

    <\p>. like..there is five paragraph in file.

    aaaaaaaaaaaaaaaaaaaaaaaaaa<\p>

    <\p>

    <\p>

    aaaaaaaaaaaaaaaaaaaaaaaaaa<\p>

    aaaaaaaaaaaaaaaaaaaaaaaaaa<\p> here, i want to remove two blanckspaces..

    L 1 Reply Last reply
    0
    • R raj231362

      hello all, i am new in window apllication c#. when i load rtf file in richtextbox control with every new paragraph with

      and <\p>. i have done this..but can't remove whitespace. he show with blankspace

      <\p>. like..there is five paragraph in file.

      aaaaaaaaaaaaaaaaaaaaaaaaaa<\p>

      <\p>

      <\p>

      aaaaaaaaaaaaaaaaaaaaaaaaaa<\p>

      aaaaaaaaaaaaaaaaaaaaaaaaaa<\p> here, i want to remove two blanckspaces..

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      what is <\p> ?

      xacc.ide - now with TabsToSpaces support
      IronScheme - 1.0 beta 1 - out now!
      ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

      R 1 Reply Last reply
      0
      • L leppie

        what is <\p> ?

        xacc.ide - now with TabsToSpaces support
        IronScheme - 1.0 beta 1 - out now!
        ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

        R Offline
        R Offline
        raj231362
        wrote on last edited by
        #3

        Thanks leppie.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups