Been there done that edit2.text := IntToStr(StrToInt('$' + sRaw)); Result '[' is not a valid integer. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110804/d4a4edac/attachment.html