Page 1 of 1

utils.stringTrim()

PostPosted: Mon Jun 16, 2014 10:42 am
by hareendra
I noticed that utils.stringTrim() is deprecated. Is there an alternative?

Re: utils.stringTrim()

PostPosted: Mon Jun 16, 2014 10:59 am
by sovanm
Hi Hareendra,

"utils.stringTrim(Object)" has been deprecated. Check what type of argument you are passing to that method.
If it is a non-string argument it will show that method to be deprecated.

Checked in Servoy version : 7.3.1

Thanks

Re: utils.stringTrim()

PostPosted: Mon Jun 16, 2014 2:51 pm
by mboegem
hareendra wrote:I noticed that utils.stringTrim() is deprecated. Is there an alternative?


Like sovanm pointed out: probably it is just the type of argument you're passing that is wrong.
If you hover over the deprecated command, holding the ALT-key, you will get a tooltip with information about the alternative.