On Thu, Feb 15, 2001 at 05:15:01PM +0200, Leon Messerschmidt wrote:
> Hi,
>
> I ran into a little problem. If I add a string to the TR.properties that
> contains "," Configurations parses it as a Vector and I get a
> ClassCastException if I call getString().
>
> Any objects to modify getString() to so that it returns strings with ","?
Woah spooky - I spent 15 minutes yesterday trying to track down this
weird "login.error is not a String" exception. And I'm sure that
happened before with you as well...
> I'm thinking about parsing the Vector.toString(). Something like this:
>
> String s = value.toString();
> return s.substring (1,s.length()-1);
I'm not sure - +0 , there are other workarounds (backslash quoting the ,
for example)
--
Sean Legassick
[EMAIL PROTECTED]
Jeg er mann: Ingenting menneskelig er fremmed for meg
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]