[SOLVED] String.Trim method with parameter not working

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
cz_1
Posts: 2
Joined: Thu Feb 18, 2016 6:15 am

[SOLVED] String.Trim method with parameter not working

Postby cz_1 » Thu Feb 18, 2016 8:33 am

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

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: String.Trim method with parameter not working

Postby JS-Support @Userware » Mon Feb 22, 2016 5:30 am

Thanks a lot for reporting this issue. We are going to look into it and keep you updated.

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: String.Trim method with parameter not working

Postby JS-Support @Userware » Mon Jul 17, 2017 12:33 pm

This issue has been fixed in the Beta 11.13, which will be available this week.

Thank you.
Regards,
JS-Support


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 25 guests