CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    How do I remove any charachter in a string?

    Could someone show me how to remove any charachter in a line?


  2. #2
    Join Date
    Apr 1999
    Location
    Rotterdam, Netherlands
    Posts
    278

    Re: How do I remove any charachter in a string?

    With VB6, you can use the Replace function. Guess this is daily answered.. anyway, something like this:
    MyString = Replace$(MyString, "a", "")

    Crazy D :-)
    "One ring rules them all"

  3. #3
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: How do I remove any charachter in a string?

    .. or if you're using VB5, you can use this routine :

    http://codeguru.developer.com/bbs/wt...5&category=All


    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured