Hello All ,
I am converting 1 byte string array to two byte unicode string.
Can you please tell me how to replce space and newline character
I am doing following with input sting
here
char *inText1 ,OutText;
int k =0;
//intext now has some string eg 18e118e22018e318e40d18e5e60d
for(int i = 0; i< strlen(inText);i++)
{
if((inText1 == 0x20) ||(inText1 == 0x0D)|| (inText1 == 0x0A) ||(inText1 == 0x85)||(inText1 == 0x0C))
{
outText = ox00;
k++;
outText = inText1;
k++
}//end if
else
{
....
}
}//end for
after this I am converting this OutText to wchar_t * and then WideString and then using replacecmd am replcaing the textmodel data.
Using above code new line is not maintained in the outText.
eg.
adobe
indesign
cs3
=>
adobe indesign cs3
Please help me to solve this problem.
Thanks & Regards,
Pallavi.