At 6:23 PM -0700 21/10/06, Joe Huber wrote:
At 10:20 AM +1000 10/22/06, Dr Gerard Hammond wrote:
The top version returns a NIL encoded string and if you later concatenate this with another string, the resulting string will also have a NIL encoding and then you can get bitten by some subtle (ie catastrophic) differences with InStr(), countStr etc.

The bottom one fixes this nasty little creepy crawly ....

(Can you tell I just got bitten by it...)

Thanks for pointing this out. I'm always using it for immediate display so I've never gotten bit by that particular nasty.

I haven't checked, but it sounds like a bug that Format would return a string with NIL encoding.


Yeah. I agree that this is a bug.
--

Cheers,

Dr Gerard Hammond
MacSOS Solutions
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to