Page 1 of 1

[SOLVED] String.Trim method with parameter not working

Posted: Thu Feb 18, 2016 8:33 am
by cz_1
Hi,

the String.Trim(char c) method is not working in browsers (tested on IE and Chrome):

Code: Select all

var testStr = "testStringxxx";
var trimmed = testStr.Trim('x');

--> results in exception: "TypeError: "testStringxxx".Trim is not a function".

It's not critical, but a bit annoying - if you are testing with the debugger during implementation, everything is working fine - testing in browsers causes exceptions..

Best Regards,
Christoph

Re: String.Trim method with parameter not working

Posted: Mon Feb 22, 2016 5:30 am
by JS-Support @Userware
Thanks a lot for reporting this issue. We are going to look into it and keep you updated.

Re: String.Trim method with parameter not working

Posted: Mon Jul 17, 2017 12:33 pm
by JS-Support @Userware
This issue has been fixed in the Beta 11.13, which will be available this week.

Thank you.
Regards,
JS-Support