[SOLVED] String.IndexOfAny with startIndex > 0 doesnt work in browser

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.
sebas
Posts: 21
Joined: Fri Oct 27, 2017 7:03 am

[SOLVED] String.IndexOfAny with startIndex > 0 doesnt work in browser

Postby sebas » Wed Dec 20, 2017 4:00 am

Code: Select all

            // Enter construction logic he;//re...
            var uri = "http://host.com";

            MessageBox.Show(uri.IndexOfAny(new char[] { '/', '?' }, 1).ToString()); //Em = 5 Browser = -1
            MessageBox.Show(uri.IndexOfAny(new char[] { '/', '?' }, 0).ToString()); //Em = 5 Browser = 5

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

Re: String.IndexOfAny with startIndex > 0 doesnt work in browser

Postby JS-Support @Userware » Wed Dec 20, 2017 4:21 am

Hi,

Thanks for reporting this issue. We are going to fix it asap.

Regards,
JS-Support

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

Re: String.IndexOfAny with startIndex > 0 doesnt work in browser

Postby JS-Support @Userware » Fri Jan 12, 2018 10:30 am

Hi,

This issue has been fixed in v1.0 Beta 13.2, which you can download from:

http://forums.cshtml5.com/viewforum.php?f=6

Thanks.
Regards,
JS-Support


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest

 

 

cron