Page 1 of 1

escape % in formatted string

Posted: Mon Apr 10, 2006 11:15 pm
by bimo
I hope someone can help me with this little problem I'm having.

I'm using vprintf and would like to escape a % in the string so that it doesn't assign a value to it. I tried '\' and '%' but they didn't work. It just read them literally. Is this possible?

thanks

Posted: Mon Apr 10, 2006 11:28 pm
by feyd
%%

Posted: Mon Apr 10, 2006 11:31 pm
by bimo
thanks