String manipulation..
-
Dumb question.. I'm sure it's super easy but I can't figure it out for what ever reason... How can I replace all the 0x0a char's in a string with " \\line " ? Right now I am taking a char converting it into a CString and converting the string into RTF.. I'm having problems getting the 'new line' or 'line returns' put into the string. Thanks, Rob Whoever said nothing's impossible never tried slamming a revolving door!
-
Dumb question.. I'm sure it's super easy but I can't figure it out for what ever reason... How can I replace all the 0x0a char's in a string with " \\line " ? Right now I am taking a char converting it into a CString and converting the string into RTF.. I'm having problems getting the 'new line' or 'line returns' put into the string. Thanks, Rob Whoever said nothing's impossible never tried slamming a revolving door!
str.Replace ( _T("\x0a"), _T("\\\\line") );
--Mike-- LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD -
str.Replace ( _T("\x0a"), _T("\\\\line") );
--Mike-- LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD