Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: jakejoker

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    20,195

    Re: How to remove the blank spaces in a string?

    FOund a solution works fine

    random.Text = Regex.Replace(random.Text, @"((?<=^|\n)\s*\n)|(\s*$)", string.Empty);

    This trims away all the blank spaces present in the text or a string.
    Thanks
  2. Replies
    9
    Views
    20,195

    Re: How to remove the blank spaces in a string?

    Am trying to clear the blank spaces in between the text which looks like this.

    go



    go


    is there a way we can trim the blank spaces.
Results 1 to 2 of 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center