Search found 2 matches

Go to advanced search

by cz_1
Thu Feb 18, 2016 8:33 am
Forum: Bug Reports
Topic: [SOLVED] String.Trim method with parameter not working
Replies: 2
Views: 6017

[SOLVED] String.Trim method with parameter not working

Hi, the String.Trim(char c) method is not working in browsers (tested on IE and Chrome): 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 ...
by cz_1
Thu Feb 18, 2016 7:57 am
Forum: Bug Reports
Topic: DateTime Parse and TryParse Issues - CultureInfo
Replies: 2
Views: 10536

DateTime Parse and TryParse Issues - CultureInfo

Hi, It seems that browsers have a problem with the CultureInfo class when parsing DateTimes. Tested on IE and Chrome (Error messages are from Chrome): DateTime dt; dt = DateTime.Parse(dtStr, CultureInfo.InvariantCulture); --> TypeError: Cannot read property 'MemberwiseClone' of undefined DateTime.Tr...

Go to advanced search