Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: combo box scrolling question? Pin
alex.barylski10-Oct-02 13:31
alex.barylski10-Oct-02 13:31 
GeneralRe: combo box scrolling question? Pin
jimNLX25-Oct-02 5:08
jimNLX25-Oct-02 5:08 
GeneralCADOX CP class question. Pin
ns10-Oct-02 9:07
ns10-Oct-02 9:07 
GeneralRe: CADOX CP class question. Pin
Ranjan Banerji10-Oct-02 10:29
Ranjan Banerji10-Oct-02 10:29 
GeneralRe: CADOX CP class question. Pin
Carlos Antollini10-Oct-02 10:39
Carlos Antollini10-Oct-02 10:39 
Generalstring question Pin
Anonymous10-Oct-02 8:43
Anonymous10-Oct-02 8:43 
GeneralRe: string question Pin
Paul M Watt10-Oct-02 9:02
mentorPaul M Watt10-Oct-02 9:02 
GeneralRe: string question Pin
Anonymous10-Oct-02 9:19
Anonymous10-Oct-02 9:19 
The string that needs to be modified is never the same.. I am trying to remove \par from a rich text string but only after a specific point.. here's the example..

String a;
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}}
{\colortbl ;\red255\green0\blue0;}
\viewkind4\uc1\pard\cf1\fs17 Hello this is a test
\par Hello this is a snd test
\par Woot
\par \cf0
\par }

String b;
Woot

String a after the remove;
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}}
{\colortbl ;\red255\green0\blue0;}
\viewkind4\uc1\pard\cf1\fs17 Hello this is a test
\par Hello this is a snd test
\par Woot
\cf0
}


I want to remove the 2 "\par "'s from string a.. but only after "Woot".

Note string a is not allways the same.. some times it has the color tag at the end and some times it doesn't.
GeneralRe: string question Pin
Shog910-Oct-02 9:08
sitebuilderShog910-Oct-02 9:08 
GeneralRe: string question Pin
valikac10-Oct-02 13:12
valikac10-Oct-02 13:12 
QuestionSetup works fine as admin, but no one else? Pin
paulccc10-Oct-02 8:24
paulccc10-Oct-02 8:24 
AnswerRe: Setup works fine as admin, but no one else? Pin
Anonymous10-Oct-02 8:59
Anonymous10-Oct-02 8:59 
GeneralBitmap Problems Pin
Mike Savoie10-Oct-02 8:26
Mike Savoie10-Oct-02 8:26 
GeneralRe: Bitmap Problems Pin
Joe Woodbury10-Oct-02 8:58
professionalJoe Woodbury10-Oct-02 8:58 
GeneralRe: Bitmap Problems Pin
Paul M Watt10-Oct-02 9:22
mentorPaul M Watt10-Oct-02 9:22 
GeneralRe: Bitmap Problems Pin
Mike Savoie11-Oct-02 1:50
Mike Savoie11-Oct-02 1:50 
GeneralRe: Bitmap Problems Pin
Atlantys21-Oct-02 7:56
Atlantys21-Oct-02 7:56 
GeneralI'm Confused... Pin
JohnnyG10-Oct-02 7:48
JohnnyG10-Oct-02 7:48 
GeneralRe: I'm Confused... Pin
Carlos Antollini10-Oct-02 8:02
Carlos Antollini10-Oct-02 8:02 
GeneralRe: I'm Confused... Pin
JohnnyG10-Oct-02 8:32
JohnnyG10-Oct-02 8:32 
GeneralRe: I'm Confused... Pin
Stephane Rodriguez.10-Oct-02 8:06
Stephane Rodriguez.10-Oct-02 8:06 
GeneralRe: I'm Confused... Pin
JohnnyG10-Oct-02 9:15
JohnnyG10-Oct-02 9:15 
GeneralRe: I'm Confused... Pin
Ranjan Banerji10-Oct-02 8:10
Ranjan Banerji10-Oct-02 8:10 
GeneralRe: I'm Confused... Pin
JohnnyG10-Oct-02 8:35
JohnnyG10-Oct-02 8:35 
GeneralRe: I'm Confused... Pin
Stephane Rodriguez.10-Oct-02 9:07
Stephane Rodriguez.10-Oct-02 9:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.