Re: [fpc-devel] function RefCount(String) ?

2009-11-16 Thread Jonas Maebe
On 16 Nov 2009, at 02:01, Martin wrote: so is their an official way to get hold of the refcount? No, there isn't. Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] function RefCount(String) ?

2009-11-15 Thread Martin
Is there a fundtion to get the current RefCount of a String? I know there is UniqueString, which will ensure the ref-count is 1. But that's not what i am looking for. When scanning some large string for substrings, each time I find a substring it will be a uniquestring (even if it has the