Originally posted by brenaaro
Yeah it does, but it only trims spaces. I needed something that would trim carriage returns and line feeds as well..

While I'm here, is there a C++ function to get the Hexadecimal value of an expression?

Say I wanted the Hex value of "a", or of the number 72. Is there an existing method I can call?
http://www.vbforums.com/showthread.p...hreadid=199715