utils.stringTrim()

Questions, tips and tricks and techniques for scripting in Servoy

utils.stringTrim()

Postby hareendra » Mon Jun 16, 2014 10:42 am

I noticed that utils.stringTrim() is deprecated. Is there an alternative?
hareendra
 
Posts: 98
Joined: Wed Sep 17, 2008 11:41 am

Re: utils.stringTrim()

Postby sovanm » Mon Jun 16, 2014 10:59 am

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
sovanm
 
Posts: 99
Joined: Fri Oct 28, 2011 1:55 pm
Location: Bhubaneswar, India

Re: utils.stringTrim()

Postby mboegem » Mon Jun 16, 2014 2:51 pm

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.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam


Return to Methods

Who is online

Users browsing this forum: No registered users and 9 guests