Help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Amut

    #1

    Help

    I am displaying a comma-delimited string from the database. There need to be a
    space between the comma values. So I used the replace function and it works fine.
    But between the last line and the last but one line there is always a space, as
    shown below. What is the problem? Is there a way to avoid this? Thanks.

    abc, edf, erh, ryr, tut,
    fgr, ttu, ryr, riri, ruruir,

    wen, ern, ert


    ___
    Newsgroups brought to you courtesy of www.dotnetjohn.com
  • Jon Skeet [C# MVP]

    #2
    Re: Help

    Amut <amutha_usa@yah oo.com> wrote:[color=blue]
    > I am displaying a comma-delimited string from the database. There
    > need to be a space between the comma values. So I used the replace
    > function and it works fine. But between the last line and the last
    > but one line there is always a space, as shown below. What is the
    > problem? Is there a way to avoid this? Thanks.
    >
    > abc, edf, erh, ryr, tut,
    > fgr, ttu, ryr, riri, ruruir,
    >
    > wen, ern, ert[/color]

    Well, you'll have to show us the input, and your code. Without those,
    the very best we could do is guess.

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    Working...