CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2002
    Posts
    195

    search char[] for escape char

    What I am trying to do is to take the rtf from a richtextbox convert it to a char[] then loop through the array and remove duplicate tags. only problem is vc# does not recognize
    Code:
    char escape ='\'
    as a valid line of code. So does anyone have any ideas how I can do this?

  2. #2
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    Re: search char[] for escape char

    Your escape character is the escape character.

    Try

    Code:
                char escape = '\\';

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